[clang] [llvm] [PowerPC] Support local-dynamic TLS relocation on AIX (PR #66316)

Felix via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 7 04:40:13 PST 2023


================
@@ -2058,6 +2089,10 @@ void PPCAIXAsmPrinter::emitLinkage(const GlobalValue *GV,
     }
   }
 
+  // Do not emit the _$TLSML symbol.
+  if (GVSym->getName() == "_Renamed..5f24__TLSML[TC]")
----------------
orcguru wrote:

I think `MCContext::createXCOFFSymbolImpl` is the logic that replaced the invalid characters. According to ASCII table, `_$` maps to `5f24`...

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


More information about the cfe-commits mailing list