diff options
| author | Jian Cai <caij2003@gmail.com> | 2019-08-16 23:30:16 +0000 |
|---|---|---|
| committer | Jian Cai <caij2003@gmail.com> | 2019-08-16 23:30:16 +0000 |
| commit | 16fa8b09702378bacfa3d07081afe6b353b99e60 (patch) | |
| tree | 2771210fa99aef02f5e9393be0ed08ccd50c645c /llvm/test/Transforms/EntryExitInstrumenter | |
| parent | 57ec292ab80002b8dbc3e9b201be5d4e22917449 (diff) | |
| download | bcm5719-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/test/Transforms/EntryExitInstrumenter')
| -rw-r--r-- | llvm/test/Transforms/EntryExitInstrumenter/mcount.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/EntryExitInstrumenter/mcount.ll b/llvm/test/Transforms/EntryExitInstrumenter/mcount.ll index 30483606caf..56c8b53aa45 100644 --- a/llvm/test/Transforms/EntryExitInstrumenter/mcount.ll +++ b/llvm/test/Transforms/EntryExitInstrumenter/mcount.ll @@ -54,7 +54,7 @@ define void @f1() #1 { entry: ret void } define void @f2() #2 { entry: ret void } ; CHECK-LABEL: define void @f2 -; CHECK: call void @"\01__gnu_mcount_nc" +; CHECK: call void @llvm.arm.gnu.eabi.mcount define void @f3() #3 { entry: ret void } ; CHECK-LABEL: define void @f3 @@ -105,7 +105,7 @@ define i8* @tailcaller2() #8 { attributes #0 = { "instrument-function-entry-inlined"="mcount" "instrument-function-entry"="__cyg_profile_func_enter" "instrument-function-exit"="__cyg_profile_func_exit" } attributes #1 = { "instrument-function-entry-inlined"=".mcount" } -attributes #2 = { "instrument-function-entry-inlined"="\01__gnu_mcount_nc" } +attributes #2 = { "instrument-function-entry-inlined"="llvm.arm.gnu.eabi.mcount" } attributes #3 = { "instrument-function-entry-inlined"="\01_mcount" } attributes #4 = { "instrument-function-entry-inlined"="\01mcount" } attributes #5 = { "instrument-function-entry-inlined"="__mcount" } |

