Home | History | Annotate | Download | only in Inputs
      1 void f1() {
      2 }
      3 
      4 inline __attribute__((always_inline)) void f2() {
      5   f1();
      6 }
      7 
      8 int main() {
      9   f2();
     10 }
     11 
     12 // Build instructions:
     13 // 1) clang++ -### -gsplit-dwarf split-dwarf-test.cc -o split-dwarf-test
     14 // 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 the
     18 //    .dwo file will be available for symbolizer (use test RUN-lines to copy
     19 //    the .dwo file to a directory
     20 //    <execution_directory>/<directory_provided_in_fdebug_compilation_dir>.
     21