summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorJian Cai <caij2003@gmail.com>2019-08-16 23:30:16 +0000
committerJian Cai <caij2003@gmail.com>2019-08-16 23:30:16 +0000
commit16fa8b09702378bacfa3d07081afe6b353b99e60 (patch)
tree2771210fa99aef02f5e9393be0ed08ccd50c645c /llvm/lib/Transforms
parent57ec292ab80002b8dbc3e9b201be5d4e22917449 (diff)
downloadbcm5719-llvm-16fa8b09702378bacfa3d07081afe6b353b99e60.tar.gz
bcm5719-llvm-16fa8b09702378bacfa3d07081afe6b353b99e60.zip
Reland "[ARM] push LR before __gnu_mcount_nc"
This relands r369147 with fixes to unit tests. https://reviews.llvm.org/D65019 llvm-svn: 369173
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp b/llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
index 4aa40eeadda..57e2ff0251a 100644
--- a/llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
+++ b/llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
@@ -24,7 +24,7 @@ static void insertCall(Function &CurFn, StringRef Func,
if (Func == "mcount" ||
Func == ".mcount" ||
- Func == "\01__gnu_mcount_nc" ||
+ Func == "llvm.arm.gnu.eabi.mcount" ||
Func == "\01_mcount" ||
Func == "\01mcount" ||
Func == "__mcount" ||
OpenPOWER on IntegriCloud