[PATCH] D137230: [XCOFF] avoid unnecessary Fixups when -function-sections is enabled.

Digger Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 06:55:46 PST 2022


DiggerLin added inline comments.


================
Comment at: llvm/lib/MC/MCContext.cpp:833
+    QualName->setFragment(F);
+    QualName->setOffset(0);
+  }
----------------
sorry that symbol offset is default by 0 . So we do not need to do  
```
QualName->setOffset(0); 
```

 



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137230/new/

https://reviews.llvm.org/D137230



More information about the llvm-commits mailing list