diff options
author | Devang Patel <dpatel@apple.com> | 2009-10-20 18:26:30 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-10-20 18:26:30 +0000 |
commit | f6a39b71a4d57ef339073277ca0cfe9376268274 (patch) | |
tree | 2ea9bdaad2034bd852852646a9d7c6403167996e /test/CodeGen | |
parent | 2b6c7314b3072cce12679487b4b6bd684bc8b24e (diff) |
Encode global variable name in debug info.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/2009-10-20-GlobalDebug.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/2009-10-20-GlobalDebug.c b/test/CodeGen/2009-10-20-GlobalDebug.c new file mode 100644 index 0000000000..33d89f1204 --- /dev/null +++ b/test/CodeGen/2009-10-20-GlobalDebug.c @@ -0,0 +1,4 @@ +// RUN: clang -S -g -dA %s -o - | FileCheck %s +int global; +// CHECK: asciz "global" ## DW_AT_MIPS_linkage_name +int main() { return 0;} |