brintos

brintos / llvm-project-archived public Read only

0
0
Text · 807 B · 0c38d0f Raw
19 lines · c
1// REQUIRES: x86-registered-target2 3// Testing to ensure that setting only -split-dwarf-file allows to place .dwo sections into regular output object.4//  RUN: %clang_cc1 -debug-info-kind=limited -triple x86_64-unknown-linux \5//  RUN:   -split-dwarf-file %t.o -emit-obj -o %t.o %s6//  RUN: llvm-readobj -S %t.o | FileCheck --check-prefix=MODE-SINGLE %s7//  MODE-SINGLE: .dwo8 9// Testing to ensure that setting both -split-dwarf-file and -split-dwarf-output10// does not place .dwo sections into regular output object.11//  RUN: %clang_cc1 -debug-info-kind=limited -triple x86_64-unknown-linux \12//  RUN:   -split-dwarf-file %t.dwo -split-dwarf-output %t.dwo -emit-obj -o %t.o %s13//  RUN: llvm-readobj -S %t.o | FileCheck --check-prefix=MODE-SPLIT %s14//  MODE-SPLIT-NOT: .dwo15 16int main (void) {17  return 0;18}19