mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
858b29de65
This implements the DWARF 5 DW_AT_export_symbols feature: http://dwarfstd.org/ShowIssue.php?issue=141212.1 <rdar://problem/18616046> llvm-svn: 285959
20 lines
782 B
LLVM
20 lines
782 B
LLVM
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
|
|
; RUN: verify-uselistorder %s
|
|
|
|
; 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 !{}
|
|
!2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
|
|
|
|
; CHECK: !3 = !DINamespace(name: "Namespace", scope: !0, file: !2, line: 7)
|
|
!3 = !DINamespace(name: "Namespace", scope: !0, file: !2, line: 7)
|
|
|
|
; 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)
|