blob: 85276ca4b2c63f63bf0ae6c218e384af4024b91b [file] [log] [blame]
David Blaikiebd20f842017-09-08 21:10:01 +00001void f1();
2__attribute__((always_inline)) inline void f2() {
3 f1();
4}
5void f3() {
6 f2();
7}
8
9// $ cat > other.cpp
10// extern int i;
11// int i;
12// $ clang++ other.cpp split-dwarf-multiple-cu.cpp -g -c -Xclang \
13// -fdebug-compilation-dir -Xclang . -emit-llvm -S
14// $ llvm-link other.ll split-dwarf-multiple-cu.ll -o split-dwarf-multiple-cu.bc
15// $ clang++ -gsplit-dwarf split-dwarf-multiple-cu.bc -c