[Lldb-commits] [lldb] [lldb][IRExecutionUnit] Return error on failure to resolve function address (PR #161363)
    Jason Molenda via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Tue Sep 30 15:00:58 PDT 2025
    
    
  
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
    
    
More information about the lldb-commits
mailing list