[all-commits] [llvm/llvm-project] 06ea05: [lldb/test] Fix TestDSYMSourcePathRemapping in the...
fredriss via All-commits
all-commits at lists.llvm.org
Mon Apr 6 19:54:24 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 06ea05a3fbc6e70cd4c492cced363a8630d65c6a
https://github.com/llvm/llvm-project/commit/06ea05a3fbc6e70cd4c492cced363a8630d65c6a
Author: Fred Riss <friss at apple.com>
Date: 2020-04-06 (Mon, 06 Apr 2020)
Changed paths:
M lldb/test/API/macosx/DBGSourcePathRemapping/TestDSYMSourcePathRemapping.py
Log Message:
-----------
[lldb/test] Fix TestDSYMSourcePathRemapping in the presence of symlnks
My main work directory is on a separate partition, but I usually access
it through a symlink in my home directory. When running the tests,
either Clang or make resolves the symlink, and the real path of the
test directory ends up in the debug information.
This confuses this test as LLDB is trying to remap the real path, but
the remapping description uses the path with the symlink in
it. Calling realpath on the source path when constructing the
remapping description fixes it.
More information about the All-commits
mailing list