DICompileUnit-no-DWOId.ll 368 B

123456789
  1. ; The input uses the older (r236428) form without a dwoId field. This should
  2. ; default to 0, which is not displayed at all in the textual representation.
  3. ;
  4. ; RUN: llvm-dis %s.bc -o - | FileCheck %s
  5. ; CHECK: !DICompileUnit
  6. ; CHECK-NOT: dwoId:
  7. !named = !{!0}
  8. !0 = !DICompileUnit(language: 12, file: !1)
  9. !1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")