1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib
Adrian Prantl b6a28c6f5a Allow the LTO code generator to strip invalid debug info from the input.
This patch introduces a new option -lto-strip-invalid-debug-info, which
drops malformed debug info from the input.

The problem I'm trying to solve with this sequence of patches is that
historically we've done a really bad job at verifying debug info. We want
to be able to make the verifier stricter without having to worry about
breaking bitcode compatibility with existing producers. For example, we
don't necessarily want IR produced by an older version of clang to be
rejected by an LTO link just because of malformed debug info, and rather
provide an option to strip it. Note that merely outdated (but well-formed)
debug info would continue to be auto-upgraded in this scenario.

rdar://problem/25818489
http://reviews.llvm.org/D19987

This reapplies 268936 with a test case fix for Linux (-exported-symbol foo)

llvm-svn: 268965
2016-05-09 19:57:15 +00:00
..
Analysis DivergenceAnalysis: Fix crash with no return blocks 2016-05-09 16:57:08 +00:00
AsmParser AMDGPU/SI: Add amdgpu_kernel calling convention. Part 1. 2016-05-06 09:07:29 +00:00
Bitcode Implement a safer bitcode upgrade for DISubprogram. 2016-05-06 22:53:06 +00:00
CodeGen [CGP] avoid crashing from weightlessness 2016-05-09 17:31:55 +00:00
DebugInfo [pdb] Parse the module info stream for each module. 2016-05-09 17:45:21 +00:00
ExecutionEngine [Orc] Rename OrcArchitectureSupport to OrcABISupport and add Win32 ABI support. 2016-05-07 03:36:38 +00:00
Fuzzer [libFuzzer] better document the -merge=1 flag 2016-05-09 19:11:36 +00:00
IR Allow the LTO code generator to strip invalid debug info from the input. 2016-05-09 19:57:15 +00:00
IRReader
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 Fix recursive -only-needed. 2016-04-21 14:56:33 +00:00
LTO Allow the LTO code generator to strip invalid debug info from the input. 2016-05-09 19:57:15 +00:00
MC [mips] Correct the ordering of HI/LO pairs in the relocation table. 2016-05-06 13:49:25 +00:00
Object Fix bug where temporary file would be left behind every time an archive was updated. 2016-05-09 13:31:11 +00:00
ObjectYAML [lanai] Add Lanai backend. 2016-03-28 13:09:54 +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 Revert "Separate the Verifier into an analysis and a transformation pass and" 2016-05-09 17:43:24 +00:00
ProfileData [PGO] Use rsplit to parse value-data line in text profile file. 2016-05-06 23:20:58 +00:00
Support [Power9] Add support for -mcpu=pwr9 in the back end 2016-05-09 18:54:58 +00:00
TableGen [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Target [X86] Drop the 64-bit alignment for LOW32_ADDR_ACCESS register class. 2016-05-09 19:50:30 +00:00
Transforms [InstCombine] Fold icmp eq/ne (udiv i32 A, B), 0 -> icmp ugt/ule B, A. 2016-05-09 19:30:20 +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