mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-18 21:24:32 -04:00
16956a6979
This reverts commit r367364. Breaks some bots: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-gn/builds/3161/steps/annotate/logs/stdio git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367370 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
653 B
C
13 lines
653 B
C
// Tests that llvm-bcanalyzer recognizes the correct "stream type" for various
|
|
// common bitstream formats.
|
|
|
|
// RUN: llvm-bcanalyzer -dump %s.ast | FileCheck %s -check-prefix=CHECK-AST
|
|
// CHECK-AST: Stream type: Clang Serialized AST
|
|
|
|
// RUN: llvm-bcanalyzer -dump %s.dia | FileCheck %s -check-prefix=CHECK-DIAG
|
|
// CHECK-DIAG: Stream type: Clang Serialized Diagnostics
|
|
|
|
// RUN: not llvm-bcanalyzer -dump %s.ast.incomplete 2>&1 | FileCheck %s -check-prefix=CHECK-INCOMPLETE
|
|
// RUN: not llvm-bcanalyzer -dump %s.dia.incomplete 2>&1 | FileCheck %s -check-prefix=CHECK-INCOMPLETE
|
|
// CHECK-INCOMPLETE: Bitcode stream should be a multiple of 4 bytes in length
|