hanchenye-llvm-project/llvm/tools
Davide Italiano 6cf09265f9 [ELF] Convert ELF.h to Expected<T>.
This has two advantages:
1) We slowly move away from ErrorOr to the new handling interface,
in the hope of having an uniform error handling in LLVM, eventually.
2) We're starting to have *meaningful* error messages for invalid
object ELF files, rather than a generic "parse error". At some point
we should include also the offset to improve the quality of the
diagnostic.

llvm-svn: 287081
2016-11-16 05:10:28 +00:00
..
bugpoint Split Bitcode/ReaderWriter.h into separate reader and writer headers 2016-11-11 05:34:58 +00:00
bugpoint-passes
dsymutil Improve DWARF parsing speed by improving DWARFAbbreviationDeclaration 2016-11-15 01:23:06 +00:00
gold Fix gold plugin after Error API changes 2016-11-11 06:04:30 +00:00
llc Revert "Use StringRef instead of raw pointer in TargetRegistry API (NFC)" 2016-10-01 07:08:23 +00:00
lli [ORC] Re-apply 286620 with fixes for the ErrorSuccess class. 2016-11-11 21:42:09 +00:00
llvm-ar Make the Error class constructor protected 2016-11-11 04:28:40 +00:00
llvm-as Split Bitcode/ReaderWriter.h into separate reader and writer headers 2016-11-11 05:34:58 +00:00
llvm-as-fuzzer
llvm-bcanalyzer Split Bitcode/ReaderWriter.h into separate reader and writer headers 2016-11-11 05:34:58 +00:00
llvm-c-test Fix build break when the host C compiler is C89. 2016-11-16 03:36:29 +00:00
llvm-config Replace a few more "fall through" comments with LLVM_FALLTHROUGH 2016-08-17 20:30:52 +00:00
llvm-cov [llvm-cov] Turn line numbers in html reports into clickable links 2016-11-02 19:44:13 +00:00
llvm-cxxdump Make the Error class constructor protected 2016-11-11 04:28:40 +00:00
llvm-cxxfilt llvm-cxxfilt: support reading from stdin 2016-11-13 20:43:38 +00:00
llvm-diff
llvm-dis Bitcode: Change module reader functions to return an llvm::Expected. 2016-11-13 07:00:17 +00:00
llvm-dwarfdump dwarfdump: -summarize-types: print a short summary (unqualified type name, hash, length) of type units rather than dumping contents 2016-10-18 21:09:48 +00:00
llvm-dwp Clean up DWARFFormValue by reducing duplicated code and removing DWARFFormValue::getFixedFormSizes() 2016-11-11 16:21:37 +00:00
llvm-extract [tools] Unbreak the GCC build (workaround a GCC bug). 2016-11-09 21:30:33 +00:00
llvm-go
llvm-jitlistener
llvm-link [ThinLTO] Only promote exported locals as marked in index 2016-11-14 19:21:41 +00:00
llvm-lto Bitcode: Change getModuleSummaryIndex() to return an llvm::Expected. 2016-11-11 19:50:39 +00:00
llvm-lto2 [ThinLTO] Disable importing and other cross-module optis at -O0 2016-10-31 22:12:21 +00:00
llvm-mc [MC] Make llvm-mc fail cleanly on invalid output asm variant. 2016-10-31 18:36:31 +00:00
llvm-mc-fuzzer Turn cl::values() (for enum) from a vararg function to using C++ variadic template 2016-10-08 19:41:06 +00:00
llvm-mcmarkup
llvm-nm Make the Error class constructor protected 2016-11-11 04:28:40 +00:00
llvm-objdump [ELF] Convert ELF.h to Expected<T>. 2016-11-16 05:10:28 +00:00
llvm-opt-report [llvm-opt-report] Fix unroll-count reporting 2016-10-24 05:07:18 +00:00
llvm-pdbdump [CodeView] Hook up CodeViewRecordIO to type serialization path. 2016-11-08 22:24:53 +00:00
llvm-profdata [PGO] Fix a use-after-move. NFC. 2016-10-19 23:31:59 +00:00
llvm-readobj [ELF] Convert ELF.h to Expected<T>. 2016-11-16 05:10:28 +00:00
llvm-rtdyld Turn cl::values() (for enum) from a vararg function to using C++ variadic template 2016-10-08 19:41:06 +00:00
llvm-shlib Fix llvm-shlib cmake build 2016-11-01 20:19:33 +00:00
llvm-size Make the Error class constructor protected 2016-11-11 04:28:40 +00:00
llvm-split Split Bitcode/ReaderWriter.h into separate reader and writer headers 2016-11-11 05:34:58 +00:00
llvm-stress Use StringRef in CommandLine Options handling (NFC) 2016-10-01 03:43:20 +00:00
llvm-strings llvm-strings: support the `-n` option 2016-11-15 00:43:52 +00:00
llvm-symbolizer Turn cl::values() (for enum) from a vararg function to using C++ variadic template 2016-10-08 19:41:06 +00:00
llvm-xray Make the Error class constructor protected 2016-11-11 04:28:40 +00:00
lto Bitcode: Clean up error handling for certain bitcode query functions. 2016-11-11 19:50:24 +00:00
msbuild
obj2yaml [ELF] Convert ELF.h to Expected<T>. 2016-11-16 05:10:28 +00:00
opt Restore "[ThinLTO] Prevent exporting of locals used/defined in module level asm" 2016-11-14 17:12:32 +00:00
sancov Make the Error class constructor protected 2016-11-11 04:28:40 +00:00
sanstats
verify-uselistorder Bitcode: Change module reader functions to return an llvm::Expected. 2016-11-13 07:00:17 +00:00
xcode-toolchain [CMake] Minor fix to regex in r279152 2016-08-18 21:36:36 +00:00
yaml2obj Misc improvements to StringTableBuilder. 2016-10-04 22:43:25 +00:00
CMakeLists.txt
LLVMBuild.txt