diff options
author | Devang Patel <dpatel@apple.com> | 2011-04-28 02:22:40 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-04-28 02:22:40 +0000 |
commit | 3e021533cd5f6e92cb1849d0f7fa4b48d2659fd8 (patch) | |
tree | 71d0c963a1a2546392c361e62981aecbad59cf81 /llvm/test | |
parent | a85af56e66b90ae287f8c6d7aa6a11af0887d71d (diff) | |
download | bcm5719-llvm-3e021533cd5f6e92cb1849d0f7fa4b48d2659fd8.tar.gz bcm5719-llvm-3e021533cd5f6e92cb1849d0f7fa4b48d2659fd8.zip |
Teach dwarf writer to handle complex address expression for .debug_loc entries.
This fixes clang generated blocks' variables' debug info.
Radar 9279956.
llvm-svn: 130373
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/CodeGen/ARM/2010-08-04-StackVariable.ll | 4 | ||||
-rw-r--r-- | llvm/test/CodeGen/X86/2010-08-04-StackVariable.ll | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/ARM/2010-08-04-StackVariable.ll b/llvm/test/CodeGen/ARM/2010-08-04-StackVariable.ll index f077d04803b..25d38ed7742 100644 --- a/llvm/test/CodeGen/ARM/2010-08-04-StackVariable.ll +++ b/llvm/test/CodeGen/ARM/2010-08-04-StackVariable.ll @@ -1,5 +1,5 @@ -; RUN: llc -O0 -mtriple=arm-apple-darwin < %s | grep DW_OP_fbreg -; Use DW_OP_fbreg in variable's location expression if the variable is in a stack slot. +; RUN: llc -O0 -mtriple=arm-apple-darwin < %s | grep DW_OP_breg +; Use DW_OP_breg in variable's location expression if the variable is in a stack slot. %struct.SVal = type { i8*, i32 } diff --git a/llvm/test/CodeGen/X86/2010-08-04-StackVariable.ll b/llvm/test/CodeGen/X86/2010-08-04-StackVariable.ll index edfd1b86873..ba36fe7c12f 100644 --- a/llvm/test/CodeGen/X86/2010-08-04-StackVariable.ll +++ b/llvm/test/CodeGen/X86/2010-08-04-StackVariable.ll @@ -1,5 +1,5 @@ -; RUN: llc -O0 -mtriple=x86_64-apple-darwin < %s | grep DW_OP_fbreg -; Use DW_OP_fbreg in variable's location expression if the variable is in a stack slot. +; RUN: llc -O0 -mtriple=x86_64-apple-darwin < %s | grep DW_OP_breg7 +; Use DW_OP_breg7 in variable's location expression if the variable is in a stack slot. %struct.SVal = type { i8*, i32 } |