labath added inline comments.
================ Comment at: lldb/test/Shell/SymbolFile/NativePDB/lookup-by-address.cpp:8 +// RUN: FileCheck --input-file=%t.out %s --check-prefix=NAME +// RUN: address=`grep "Address:" %t.out | sed "s/.*Address: lookup-by-address.cpp.tmp.exe\[\(.*\)\].*/\1/"` +// RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -O "target create %t.exe" -o "image lookup -a $address" -o "exit" | FileCheck %s --check-prefix=ADDRESS ---------------- These fancy shell operations don't usually work on windows (which is pretty unfortunate, given this is a windows format). Since the test executable will literally contain just the main function, maybe we could just pass a /base:BASE argument to the linker, and rely on the fact that the linker will place the function at BASE+0x1000 ? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D113821/new/ https://reviews.llvm.org/D113821 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits