aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2021-07-16 15:53:52 -0700
committerSami Tolvanen <samitolvanen@google.com>2021-07-20 10:30:02 -0700
commit700d07f8ce6f2879610fd6b6968b05c6f17bb915 (patch)
tree9bce6246fd9c1656c20e1df730509c90d0e3b49d /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent6144fc2da1b87dc64ff887d73b60f7708f5cb0a4 (diff)
downloadllvm-700d07f8ce6f2879610fd6b6968b05c6f17bb915.zip
llvm-700d07f8ce6f2879610fd6b6968b05c6f17bb915.tar.gz
llvm-700d07f8ce6f2879610fd6b6968b05c6f17bb915.tar.bz2
ThinLTO: Fix inline assembly references to static functions with CFI
Create an internal alias with the original name for static functions that are renamed in promoteInternals to avoid breaking inline assembly references to them. This version uses module inline assembly to avoid issues with LowerTypeTestsModule. Relands commmit 8e3b5cb39eef462943ed7556469604ce25c07a1d with arch specific tests fixed. Link: https://github.com/ClangBuiltLinux/linux/issues/1354 Reviewed By: nickdesaulniers, pcc Differential Revision: https://reviews.llvm.org/D104058
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions