[PATCH] D104058: ThinLTO: Fix inline assembly references to static functions with CFI
    Sami Tolvanen via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Jun 10 13:47:57 PDT 2021
    
    
  
samitolvanen added reviewers: nickdesaulniers, pcc, tejohnson, kees, eugenis.
samitolvanen added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp:79
+                              GlobalValue::InternalLinkage, Name, F, &ExportM);
+      appendToCompilerUsed(ExportM, A);
+    }
----------------
Note that I'm adding the alias to llvm.compiler.used because it's otherwise removed during optimization. Is there are better way to accomplish this?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104058/new/
https://reviews.llvm.org/D104058
    
    
More information about the llvm-commits
mailing list