I was not able to sucessfully run TestDSYMSourcePathRemapping.py because the source mapping was using /tmp/ but the debugger was checking /private/tmp (which is a symlink to tmp). Maybe the debugger should realpath on it? Not sure but by making sure our tests always use the real path it avoids these kind of issues.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 41683 Build 41953: arc lint + arc unit
Event Timeline
Comment Actions
Might be a better idea to realpath this once in the setup code instead of calling realpath thousands and thousands of times? Maybe we just santize "LLDB_TEST" and "LLDB_BUILD" one time with top level code like:
os.environ["LLDB_TEST"] = os.path.realpath(os.environ["LLDB_TEST"]) os.environ["LLDB_BUILD"] = os.path.realpath(os.environ["LLDB_BUILD"])
Comment Actions
Solve this at the failing test level. We can't be sure of the filename will end up in the debug info so we just add both keys to the mapping.