llvm/test
Kevin Enderby 60923f36b5 Another additional error check for invalid Mach-O files for the
obsolete load commands.

Again the philosophy of the error checking in libObject for
Mach-O files, the idea behind the checking is that we never
will return a Mach-O file out of libObject that contains unknown
things the library code can’t operate on.  So known obsolete
load commands will cause a hard error.

Also to make things clear I have added comments to the
values and structures in Support/Mach-O.h and
Support/MachO.def as to what is obsolete.

As noted in a TODO in the code, there may need to be a
non-default mode to allow some unknown values for well
structured Mach-O files with things like unknown load
load commands.  So things like using an old lldb on a newer
Mach-O file could still provide some limited functionality.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285342 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-27 20:59:10 +00:00
..
Analysis [X86][AVX512] Fix MUL v8i64 costs on non-AVX512DQ targets 2016-10-27 18:32:06 +00:00
Assembler DebugInfo: preparation to implement DW_AT_alignment 2016-10-20 00:13:12 +00:00
Bindings
Bitcode DebugInfo: add bitcode upgrade test for alignment 2016-10-26 08:34:19 +00:00
BugPoint Add -strip-nonlinetable-debuginfo capability 2016-10-25 18:44:13 +00:00
CodeGen AMDGPU/SI: Handle s_setreg hazard in GCNHazardRecognizer 2016-10-27 20:39:09 +00:00
DebugInfo Reapply: "Remove debug location from common tail when tail-merging" 2016-10-26 17:01:47 +00:00
Demangle Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
Examples
ExecutionEngine Fix PREL31 relocation on ARM 2016-10-20 21:15:29 +00:00
Feature
FileCheck
Instrumentation [asan] Append line number to variable name if line is available and in the same file as the function. 2016-10-18 23:29:41 +00:00
Integer
JitListener
LibDriver
Linker Fix autoupgrade logic for Objective-C class properties module flag 2016-09-16 00:38:18 +00:00
LTO LTO: Use the correct mangler function in LTOCodeGenerator::applyScopeRestrictions(). 2016-10-12 20:12:19 +00:00
MC [MC] Fix Various End Of Line Comment checkings 2016-10-24 14:35:29 +00:00
Object Another additional error check for invalid Mach-O files for the 2016-10-27 20:59:10 +00:00
ObjectYAML
Other [lit] Work around Windows MSys command line tokenization bug 2016-10-26 20:29:27 +00:00
SymbolRewriter
TableGen [TableGen] AsmMatcher: Add AsmVariantName to Instruction class. 2016-09-08 15:50:52 +00:00
ThinLTO/X86 [ThinLTO] Don't link module level assembly when importing 2016-10-12 18:39:29 +00:00
tools llvm-objdump: Make some error messages more consistent 2016-10-26 22:37:52 +00:00
Transforms [InstCombine] add vector tests for foldSPFofSPF to show missing folds 2016-10-27 20:51:03 +00:00
Unit
Verifier Verifier: Reject any unknown named MD nodes in the llvm.dbg namespace. 2016-10-05 22:15:37 +00:00
YAMLParser
.clang-format
CMakeLists.txt [XRay] Add llvm-xray as a dependency to test/CMakeLists.txt 2016-10-26 04:16:05 +00:00
lit.cfg [XRay] Implement llvm-xray extract, start of the llvm-xray tool 2016-10-26 04:14:34 +00:00
lit.site.cfg.in
TestRunner.sh