summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
diff options
context:
space:
mode:
authorJian Cai <caij2003@gmail.com>2019-08-16 20:40:21 +0000
committerJian Cai <caij2003@gmail.com>2019-08-16 20:40:21 +0000
commit2d957cfe02a1b4c82068d1a0bf22bcffbba72a8a (patch)
tree6f13e3c44f81d0fc293c6598baec52746a014079 /llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
parent856608c30a8b9f28333e0d1b9cacc19db6d688e8 (diff)
downloadbcm5719-llvm-2d957cfe02a1b4c82068d1a0bf22bcffbba72a8a.tar.gz
bcm5719-llvm-2d957cfe02a1b4c82068d1a0bf22bcffbba72a8a.zip
Revert "[ARM] push LR before __gnu_mcount_nc"
This reverts commit f4cf3b959333f62b7a7b2d7771f7010c9d8da388. llvm-svn: 369149
Diffstat (limited to 'llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp')
-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 57e2ff0251a..4aa40eeadda 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 == "llvm.arm.gnu.eabi.mcount" ||
+ Func == "\01__gnu_mcount_nc" ||
Func == "\01_mcount" ||
Func == "\01mcount" ||
Func == "__mcount" ||
OpenPOWER on IntegriCloud