This is a follow-up from the previous discussion on the thread: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20151019/307763.html The LibLTO lto_get_error_message() API reads error messages from a std::string sLastErrorString. Instead of passing this string around as an argument, this patch creates a diagnostic handler and then sends this handler to the constructor of LTOCodeGenerator. Differential Revision: http://reviews.llvm.org/D14313 llvm-svn: 252791 |
||
|---|---|---|
| .. | ||
| Inputs | ||
| attrs.ll | ||
| bcsection.ll | ||
| cfi_endproc.ll | ||
| current-section.ll | ||
| diagnostic-handler-noexit.ll | ||
| diagnostic-handler-remarks.ll | ||
| disable-verify.ll | ||
| invalid.ll | ||
| keep-used-puts-during-instcombine.ll | ||
| linkonce_odr_func.ll | ||
| list-symbols.ll | ||
| lit.local.cfg | ||
| no-undefined-puts-when-implemented.ll | ||
| parallel.ll | ||
| private-symbol.ll | ||
| runtime-library.ll | ||
| set-merged.ll | ||
| symver-asm.ll | ||
| triple-init.ll | ||