brintos

brintos / llvm-project-archived public Read only

0
0
Text · 634 B · b41423d Raw
21 lines · plain
1void f1() {2}3 4inline __attribute__((always_inline)) void f2() {5  f1();6}7 8int main() {9  f2();10}11 12// Build instructions:13// 1) clang++ -### -gsplit-dwarf split-dwarf-test.cc -o split-dwarf-test14// 2) Replace the value "-fdebug-compilation-dir" flag to "Output"15//      (this is the temp directory used by lit).16// 3) Manually run clang-cc1, objcopy and ld invocations.17// 4) Copy the binary and .dwo file to the Inputs directory. Make sure the18//    .dwo file will be available for symbolizer (use test RUN-lines to copy19//    the .dwo file to a directory20//    <execution_directory>/<directory_provided_in_fdebug_compilation_dir>.21