1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test
Kevin Enderby 46ecdee89c The next step along the way to getting good error messages for bad archives.
As mentioned in commit log for r276686 this next step is adding a new
method in the ArchiveMemberHeader class to get the full name that
does proper error checking, and can be use for error messages.

To do this the name of ArchiveMemberHeader::getName() is changed to
ArchiveMemberHeader::getRawName() to be consistent with
Archive::Child::getRawName().  Then the “new” method is the addition
of a new implementation of ArchiveMemberHeader::getName() which gets
the full name and provides proper error checking.  Which is mostly a rewrite
of what was Archive::Child::getName() and cleaning up incorrect uses of
llvm_unreachable() in the code which were actually just cases of errors
in the input Archives.

Then Archive::Child::getName() is changed to return Expected<> and use
the new implementation of ArchiveMemberHeader::getName() .

Also needed to change Archive::getMemoryBufferRef() with these
changes to return Expected<> as well to propagate Errors up.
As well as changing Archive::isThinMember() to return Expected<> .

llvm-svn: 277177
2016-07-29 17:44:13 +00:00
..
Analysis [BPI] Add new LazyBPI analysis 2016-07-28 23:31:12 +00:00
Assembler
Bindings
Bitcode
BugPoint
CodeGen [AArch64][GlobalISel] Select G_XOR. 2016-07-29 16:56:25 +00:00
DebugInfo [CodeView] Don't crash on functions without subprograms 2016-07-28 05:03:22 +00:00
Examples
ExecutionEngine
Feature Reinstate optnone test for GVN Hoisting, removed in r276479. 2016-07-29 16:05:50 +00:00
FileCheck
Instrumentation
Integer
JitListener
LibDriver
Linker
LTO
MC Remove inline-comment-2.ll until I can debug why it fails on some builds 2016-07-29 15:24:06 +00:00
Object
ObjectYAML
Other
SymbolRewriter
TableGen
ThinLTO/X86
tools The next step along the way to getting good error messages for bad archives. 2016-07-29 17:44:13 +00:00
Transforms Initial support for vectorization using svml (short vector math library). 2016-07-29 16:42:44 +00:00
Unit
Verifier [IR] Introduce a non-integral pointer type 2016-07-28 23:43:38 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
TestRunner.sh