[PATCH] D51497: [WIP][ORC][ThinLTO] Early ThinLTO-JIT prototype and basic tests for next-gen ORC APIs

Duncan P. N. Exon Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 30 12:40:39 PDT 2018


dexonsmith added a subscriber: tejohnson.
dexonsmith added a comment.

In https://reviews.llvm.org/D51497#1219698, @sgraenitz wrote:

> Not sure what's the best way to get rid of the binary object files. IIUC the ThinLTO tests are lit-based, so they build their summary-enhanced objects with clang and test via llvm-lto2 tool. Maybe I can turn all the unit tests into lit-test and add a hook to llvm-lto2? Don't know if there is a way to emit object files with summaries using yaml2obj or so? Any ideas?


You should check in LLVM textual IR files (`.ll`) instead of C++ source files or object files.  Using `clang -S -emit-llvm` (or `llvm-dis some-thinlto-bitcode-file.o`) should get you started.


Repository:
  rL LLVM

https://reviews.llvm.org/D51497





More information about the llvm-commits mailing list