This is an archive of the discontinued LLVM Phabricator instance.

[AIX] Avoid structor alias; die before bad alias codegen
ClosedPublic

Authored by hubert.reinterpretcast on Apr 28 2020, 2:08 PM.

Details

Summary

AsmPrinter::emitGlobalIndirectSymbol is dependent on MCStreamer::emitAssignment to produce .set directives for alias symbols; however, the .set pseudo-op on AIX is documented as not usable with external relocatable terms or expressions, which limits its applicability in generating alias symbols.

Disable generating aliases on AIX until a different implementation strategy is available.

Diff Detail