[llvm] [SystemZ][zOS] Override emitGlobalAlias for ADA (PR #84829)

Yusra Syeda via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 14:01:52 PDT 2024


================
@@ -1541,6 +1540,40 @@ void SystemZAsmPrinter::emitPPA2(Module &M) {
   OutStreamer->popSection();
 }
 
+void SystemZAsmPrinter::emitGlobalAlias(const Module &M,
+                                        const GlobalAlias &GA) {
----------------
ysyeda wrote:

This is required to complete the implementation for handling indirect symbols. In the case where there is a globalAlias, we require an external reference symbol with the indirect flag set which is handled by emitGlobalAlias.
I added a test for this case.

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


More information about the llvm-commits mailing list