[llvm] [PowerPC] Move __ehinfo TOC entries to the end of the TOC section (PR #73586)

Sean Fertile via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 10:37:07 PST 2023


================
@@ -2459,6 +2459,7 @@ void PPCAIXAsmPrinter::emitTracebackTable() {
     auto &Ctx = OutStreamer->getContext();
     MCSymbol *EHInfoSym =
         TargetLoweringObjectFileXCOFF::getEHInfoTableSymbol(MF);
+    cast<MCSymbolXCOFF>(EHInfoSym)->setEHInfo();
----------------
mandlebug wrote:

Should this be in `getEHInfoTableSymbol` instead?

https://github.com/llvm/llvm-project/pull/73586


More information about the llvm-commits mailing list