[Lldb-commits] [PATCH] D11357: Resolve DW_AT_comp_dir path if it contains a symlink

Jim Ingham jingham at apple.com
Mon Jul 20 11:25:49 PDT 2015


jingham added a subscriber: jingham.
jingham added a comment.

Why do you need to do this?  Between the comp dir and the file name you should have an absolute path.  If the debug information is not resolved to an absolute path, that's a compiler bug and should be fixed there.

The debugger does not require that the source tree still exists, so you can't base any logic on this ACTUALLY existing to avoid a potentially large number of pointless stat's.  And in general, unless there's some clear advantage, I'd rather we not touch the file system for source files until somebody actually wants to find a particular source file.


http://reviews.llvm.org/D11357







More information about the lldb-commits mailing list