llvm-for-llvmta/tools/clang/test/CodeGen/debug-info-lto.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

5 lines
272 B
C

// RUN: %clang_cc1 -flto -emit-llvm -debug-info-kind=standalone %s -o - | FileCheck %s
// RUN: %clang_cc1 -flto=thin -emit-llvm -debug-info-kind=standalone %s -o - | FileCheck %s
// The "o" in LTO stands for optimization!
// CHECK: !DICompileUnit({{.*}} isOptimized: true