diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-04-28 22:25:46 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-04-28 22:25:46 +0000 |
commit | fed4f399d3a9b8381d9d32e7aa928855b11d7485 (patch) | |
tree | 6b842659a0d73b8c897febc016f92df12d4304b8 /llvm/test/DebugInfo/COFF/cpp-mangling.ll | |
parent | c20ccd2c0209fdaae7f7efe066c4b59b4ca46842 (diff) | |
download | bcm5719-llvm-fed4f399d3a9b8381d9d32e7aa928855b11d7485.tar.gz bcm5719-llvm-fed4f399d3a9b8381d9d32e7aa928855b11d7485.zip |
Remove line and file from DINamespace.
Fixes the issue highlighted in
http://lists.llvm.org/pipermail/cfe-dev/2014-June/037500.html.
The DW_AT_decl_file and DW_AT_decl_line attributes on namespaces can
prevent LLVM from uniquing types that are in the same namespace. They
also don't carry any meaningful information.
rdar://problem/17484998
Differential Revision: https://reviews.llvm.org/D32648
llvm-svn: 301706
Diffstat (limited to 'llvm/test/DebugInfo/COFF/cpp-mangling.ll')
-rw-r--r-- | llvm/test/DebugInfo/COFF/cpp-mangling.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/COFF/cpp-mangling.ll b/llvm/test/DebugInfo/COFF/cpp-mangling.ll index a75720f1812..8d1a136ec5f 100644 --- a/llvm/test/DebugInfo/COFF/cpp-mangling.ll +++ b/llvm/test/DebugInfo/COFF/cpp-mangling.ll @@ -63,7 +63,7 @@ attributes #1 = { nounwind readnone } !4 = !{i32 2, !"Debug Info Version", i32 3} !5 = !{!"clang version 3.9.0 "} !6 = distinct !DISubprogram(name: "bar", linkageName: "\01?bar@foo@@YAHH@Z", scope: !7, file: !1, line: 2, type: !8, isLocal: false, isDefinition: true, scopeLine: 2, flags: DIFlagPrototyped, isOptimized: false, unit: !0, variables: !2) -!7 = !DINamespace(name: "foo", scope: null, file: !1, line: 1) +!7 = !DINamespace(name: "foo", scope: null) !8 = !DISubroutineType(types: !9) !9 = !{!10, !10} !10 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed) |