linux-packaging-mono/external/llvm/test/DebugInfo/Inputs/split-dwarf-multiple-cu.cpp
Xamarin Public Jenkins (auto-signing) f32dbaf0b2 Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
2018-12-21 19:01:49 +00:00

16 lines
402 B
C++

void f1();
__attribute__((always_inline)) inline void f2() {
f1();
}
void f3() {
f2();
}
// $ cat > other.cpp
// extern int i;
// int i;
// $ clang++ other.cpp split-dwarf-multiple-cu.cpp -g -c -Xclang \
// -fdebug-compilation-dir -Xclang . -emit-llvm -S
// $ llvm-link other.ll split-dwarf-multiple-cu.ll -o split-dwarf-multiple-cu.bc
// $ clang++ -gsplit-dwarf split-dwarf-multiple-cu.bc -c