jasonmolenda wrote:

> After talking to @jasonmolenda it sounded like we usually would never want to 
> expose the debug-map's .o files to anything outside SymbolFileDWARFDebugMap. 

If I remember from our discussions, if 
`SymbolFileDWARFDebugMap::LinkOSOAddress` succeeds, then we're surfacing the 
linked binary's Section and offsets.  It's only in this unusual case you found, 
where a function exists in the .o file that didn't make it into the linked 
binary and we've picked this .o file's copy of this function, where we get into 
this pickle and fall back to trying to use the .o file's Section and offset, 
which immediately leads to the bug you found.

https://github.com/llvm/llvm-project/pull/161363
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to