diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2012-07-24 01:40:49 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2012-07-24 01:40:49 +0000 |
commit | 085970736f7e7c12bf592da908db5d31c09aa8c9 (patch) | |
tree | 6c7d28ce696870c7198652627d6e69d11ced7df4 /clang/test/CodeGenCXX/debug-info-template-limit.cpp | |
parent | cfb4517cc0df43b61d3dff5f2286d568f25804a5 (diff) | |
download | bcm5719-llvm-085970736f7e7c12bf592da908db5d31c09aa8c9.tar.gz bcm5719-llvm-085970736f7e7c12bf592da908db5d31c09aa8c9.zip |
Emit debug info for dynamic initializers. Permit __attribute__((nodebug)) on
variables that have static storage duration, it removes debug info on the
emitted initializer function but not all debug info about this variable.
llvm-svn: 160659
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-template-limit.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-template-limit.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-template-limit.cpp b/clang/test/CodeGenCXX/debug-info-template-limit.cpp index 796a80fd627..afad31b14ef 100644 --- a/clang/test/CodeGenCXX/debug-info-template-limit.cpp +++ b/clang/test/CodeGenCXX/debug-info-template-limit.cpp @@ -1,8 +1,8 @@ // RUN: %clang -flimit-debug-info -emit-llvm -g -S %s -o - | FileCheck %s // Check that this pointer type is TC<int> -// CHECK: !10} ; [ DW_TAG_pointer_type -// CHECK-NEXT: !10 ={{.*}}"TC<int>" +// CHECK: ![[LINE:[0-9]+]]} ; [ DW_TAG_pointer_type ]{{.*}}[from TC<int>] +// CHECK-NEXT: ![[LINE]] ={{.*}}"TC<int>" template<typename T> class TC { @@ -12,4 +12,3 @@ public: }; TC<int> tci; - |