llvm/test/tools/llvm-symbolizer/Inputs/split-dwarf-multiple-cu.cpp
raw| 1 | void f1(); |
| 2 | __attribute__((always_inline)) inline void f2() { |
| 3 | f1(); |
| 4 | } |
| 5 | void 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 |