[Lldb-commits] [lldb] [lldb] Realpath symlinks for breakpoints (PR #102223)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 6 22:45:55 PDT 2024
royitaqi wrote:
@jimingham
> Have you checked to make sure this also works when there is a source-path mapping in place for the files that also differ by realpath vrs. symlink in the part past the part the source-path mapping substitutes? That might "just work" but it also seems like it might not, so it would be good to have a test for that.
I checked one scenario and it worked: The user set a breakpoint in file A, which is source-mapped to file B. The line table has file C, which is realpath'ed into file B. Hence a match. See [this example](https://github.com/royitaqi/lldb_demos/blob/main/realpath/README.md#run-with-realpathing-and-source-map). It works because the source-map is done [here](https://fburl.com/afz6bxlk) on the input file A, while the realpath'ing is done on the support file C, so the two are really orthogonal.
I didn't fully understand your question. Did you have a different scenario in mind?
https://github.com/llvm/llvm-project/pull/102223
More information about the lldb-commits
mailing list