llvm-for-llvmta/tools/clang/test/CodeGen/debug-info-ranges-base-addr...

10 lines
340 B
C

// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck --check-prefix=NORNGBSE %s
// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - -fdebug-ranges-base-address | FileCheck --check-prefix=RNGBSE %s
// NORNGBSE-NOT: rangesBaseAddress
// RNGBSE: !DICompileUnit({{.*}}, rangesBaseAddress: true
void f1() {
}