[lld] [lld][MachO] Prevent doubled N_SO when comp_dir and name absolute (PR #71608)
    Shoaib Meenai via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Nov  8 15:41:44 PST 2023
    
    
  
================
@@ -1522,13 +1522,17 @@ void ObjFile::registerEhFrames(Section &ehFrameSection) {
 }
 
 std::string ObjFile::sourceFile() const {
+  const char *unitName = compileUnit->getUnitDIE().getShortName();
----------------
smeenai wrote:
Sure, works for me.
https://github.com/llvm/llvm-project/pull/71608
    
    
More information about the llvm-commits
mailing list