dinamespace.ll 596 B

12345678910111213141516
  1. ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
  2. ; RUN: verify-uselistorder %s
  3. ; CHECK: !named = !{!0, !1, !2, !3, !4, !4}
  4. !named = !{!0, !1, !2, !3, !4, !5}
  5. !0 = !DIFile(filename: "file.cpp", directory: "/path/to/dir")
  6. !1 = distinct !{}
  7. !2 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
  8. ; CHECK: !3 = !DINamespace(name: "Namespace", scope: !0, file: !2, line: 7)
  9. !3 = !DINamespace(name: "Namespace", scope: !0, file: !2, line: 7)
  10. ; CHECK: !4 = !DINamespace(scope: !0)
  11. !4 = !DINamespace(name: "", scope: !0, file: null, line: 0)
  12. !5 = !DINamespace(scope: !0)