Revert "Reapply "[llvm-jitlink] Use concurrent linking by default." with fixes. ...
[llvm-project.git] / clang / test / CodeGen / split-debug-filename.c
blobea710cc5d944205303891f8b8789d4f887361a75
1 // REQUIRES: x86-registered-target
2 // RUN: %clang_cc1 -debug-info-kind=limited -split-dwarf-file foo.dwo -emit-llvm -o - %s | FileCheck %s
3 // 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 %s
4 // RUN: llvm-readobj -S %t.dwo | FileCheck --check-prefix=DWO %s
6 int main (void) {
7 return 0;
10 // Testing to ensure that the dwo name gets output into the compile unit.
11 // CHECK: !DICompileUnit({{.*}}, splitDebugFilename: "foo.dwo"
13 // O-NOT: .dwo
14 // DWO: .dwo