1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/lib
Kevin Enderby 413f7c6823 Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow
a good error message to be produced.

This is nearly the last libObject interface that used ErrorOr and the last one
that appears in llvm/include/llvm/Object/MachO.h .  For Mach-O objects this is
just a clean up because it’s version of getSymbolAddress() can’t return an
error.

I will leave it to the experts on COFF and ELF to actually add meaning full
error messages in their tests if they wish.  And also leave it to these experts
to change the last two ErrorOr interfaces in llvm/include/llvm/Object/ObjectFile.h
for createCOFFObjectFile() and createELFObjectFile() if they wish.

Since there are no test cases for COFF and ELF error cases with respect to
getSymbolAddress() in the test suite this is no functional change (NFC).

llvm-svn: 273701
2016-06-24 18:24:42 +00:00
..
Analysis Attempt to fix MSVC breakage caused by r273636. 2016-06-24 01:41:29 +00:00
AsmParser Remangle intrinsics names when types are renamed 2016-06-24 15:10:29 +00:00
Bitcode Remangle intrinsics names when types are renamed 2016-06-24 15:10:29 +00:00
CodeGen Codegen: Fix broken assumption in Tail Merge. 2016-06-24 18:16:36 +00:00
DebugInfo Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
ExecutionEngine Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
Fuzzer [libfuzzer] moving is_ascii handler inside mutation dispatcher. 2016-06-23 20:44:48 +00:00
IR Linker: Copy metadata when linking declarations. 2016-06-24 17:42:21 +00:00
IRReader Remove autoconf support 2016-01-26 21:29:08 +00:00
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
LineEditor Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
Linker Linker: Copy metadata when linking declarations. 2016-06-24 17:42:21 +00:00
LTO [UpdateCompilerUsed] API rename and cleanup, suggested by Rafaael. 2016-06-22 19:50:42 +00:00
MC Fix instance of -Wdelete-incomplete 2016-06-22 23:25:26 +00:00
Object Thread Expected<...> up from libObject’s getSymbolAddress() for symbols to allow 2016-06-24 18:24:42 +00:00
ObjectYAML [MachOYAML] Use a temporary to avoid gcc strict-aliasing warning 2016-06-23 23:01:47 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes Add a super basic LazyCallGraph DOT printer. 2016-06-18 09:17:32 +00:00
ProfileData [Coverage] Clarify ownership of a MemoryBuffer in the reader (NFC) 2016-06-21 22:22:33 +00:00
Support Explicitly specify the ANSI version of these Win32 APIs. While these are seemingly unrelated changes, they are all NFC because we currently default to the ANSI versions of the APIs when building for Windows. This simply makes the ANSI usage explicit. 2016-06-23 14:45:54 +00:00
TableGen Avoid copies of std::strings and APInt/APFloats where we only read from it 2016-06-08 10:01:20 +00:00
Target Use existing predicate. NFC. 2016-06-24 13:28:26 +00:00
Transforms [LV] Preserve order of dependences in interleaved accesses analysis 2016-06-24 15:33:25 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00