diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-11-03 19:42:02 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-11-03 19:42:02 +0000 |
commit | dbfda63695272c2d12a6a61b18b52d3961d8e1a8 (patch) | |
tree | 84e60fd946f3806394c80e3b796986b6a5bf6f13 /llvm/test/Assembler/dinamespace.ll | |
parent | 8a569174928c79af07459fb92751b36624baedde (diff) | |
download | bcm5719-llvm-dbfda63695272c2d12a6a61b18b52d3961d8e1a8.tar.gz bcm5719-llvm-dbfda63695272c2d12a6a61b18b52d3961d8e1a8.zip |
Add DWARF debug info support for C++11 inline namespaces.
This implements the DWARF 5 DW_AT_export_symbols feature:
http://dwarfstd.org/ShowIssue.php?issue=141212.1
<rdar://problem/18616046>
llvm-svn: 285959
Diffstat (limited to 'llvm/test/Assembler/dinamespace.ll')
-rw-r--r-- | llvm/test/Assembler/dinamespace.ll | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/test/Assembler/dinamespace.ll b/llvm/test/Assembler/dinamespace.ll index 5d8b6b3fa7d..346fcfb1111 100644 --- a/llvm/test/Assembler/dinamespace.ll +++ b/llvm/test/Assembler/dinamespace.ll @@ -1,8 +1,8 @@ ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s ; RUN: verify-uselistorder %s -; CHECK: !named = !{!0, !1, !2, !3, !4, !4} -!named = !{!0, !1, !2, !3, !4, !5} +; CHECK: !named = !{!0, !1, !2, !3, !4, !4, !4, !5} +!named = !{!0, !1, !2, !3, !4, !5, !6, !7} !0 = !DIFile(filename: "file.cpp", directory: "/path/to/dir") !1 = distinct !{} @@ -14,3 +14,6 @@ ; CHECK: !4 = !DINamespace(scope: !0) !4 = !DINamespace(name: "", scope: !0, file: null, line: 0) !5 = !DINamespace(scope: !0) +!6 = !DINamespace(scope: !0, exportSymbols: false) +; CHECK: !5 = !DINamespace(scope: !0, exportSymbols: true) +!7 = !DINamespace(name: "", scope: !0, exportSymbols: true) |