brintos

brintos / llvm-project-archived public Read only

0
0
Text · 599 B · ea710cc Raw
15 lines · c
1// REQUIRES: x86-registered-target2// RUN: %clang_cc1 -debug-info-kind=limited -split-dwarf-file foo.dwo -emit-llvm -o - %s | FileCheck %s3// RUN: %clang_cc1 -triple x86_64-unknown-linux -debug-info-kind=limited -split-dwarf-file %t.dwo -split-dwarf-output %t.dwo -emit-obj -o - %s | llvm-readobj -S - | FileCheck --check-prefix=O %s4// RUN: llvm-readobj -S %t.dwo | FileCheck --check-prefix=DWO %s5 6int main (void) {7  return 0;8}9 10// Testing to ensure that the dwo name gets output into the compile unit.11// CHECK: !DICompileUnit({{.*}}, splitDebugFilename: "foo.dwo"12 13// O-NOT: .dwo14// DWO: .dwo15