diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2013-10-20 02:16:21 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-10-20 02:16:21 +0000 |
| commit | e9f45e25f94ee8242f0d88aa2f922704e1c67e0b (patch) | |
| tree | ccc6ae2715d86435733f5ab5790fe1c199343722 /llvm/test/CodeGen | |
| parent | 588009e484cdc4848bc990cf4f59611e8b1458a3 (diff) | |
| download | bcm5719-llvm-e9f45e25f94ee8242f0d88aa2f922704e1c67e0b.tar.gz bcm5719-llvm-e9f45e25f94ee8242f0d88aa2f922704e1c67e0b.zip | |
Emit prefix data after debug and EH directives.
This ensures that the prefix data is treated as part of the function for
the purpose of debug info. This provides a better debugging experience,
among other things by allowing a debug info client to correctly look up
a function in debug info given a function pointer.
llvm-svn: 193042
Diffstat (limited to 'llvm/test/CodeGen')
| -rw-r--r-- | llvm/test/CodeGen/X86/prefixdata.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/prefixdata.ll b/llvm/test/CodeGen/X86/prefixdata.ll index 2ffa89d287d..2ec1892dd18 100644 --- a/llvm/test/CodeGen/X86/prefixdata.ll +++ b/llvm/test/CodeGen/X86/prefixdata.ll @@ -3,12 +3,14 @@ @i = linkonce_odr global i32 1 ; CHECK: f: +; CHECK-NEXT: .cfi_startproc ; CHECK-NEXT: .long 1 define void @f() prefix i32 1 { ret void } ; CHECK: g: +; CHECK-NEXT: .cfi_startproc ; CHECK-NEXT: .quad i define void @g() prefix i32* @i { ret void |

