llvm-project/llvm/test/LTO/X86
Adrian Prantl fe7a382453 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
..
Inputs Allow the LTO code generator to strip invalid debug info from the input. 2016-05-09 19:57:15 +00:00
attrs.ll
bcsection.ll Make the default triple optional by allowing an empty string 2015-09-16 05:34:32 +00:00
cfi_endproc.ll
current-section.ll Make the default triple optional by allowing an empty string 2015-09-16 05:34:32 +00:00
diagnostic-handler-noexit.ll Add a libLTO diagnostic handler that supports lto_get_error_message API 2015-11-11 19:59:08 +00:00
diagnostic-handler-remarks.ll [LoopVectorize] Don't unconditionally print vectorization diagnostics 2016-04-01 00:34:39 +00:00
disable-verify.ll Refactor the InternalizePass into a helper class, and expose it through a public free function (NFC) 2016-04-13 05:25:08 +00:00
invalid.ll Add InaccessibleMemOnly and inaccessibleMemOrArgMemOnly attributes 2015-12-16 16:16:19 +00:00
keep-used-puts-during-instcombine.ll [opaque pointer type] Add textual IR support for explicit type parameter to the call instruction 2015-04-16 23:24:18 +00:00
linkonce_odr_func.ll Move the personality function from LandingPadInst to Function 2015-06-17 20:52:32 +00:00
list-symbols.ll Make the default triple optional by allowing an empty string 2015-09-16 05:34:32 +00:00
lit.local.cfg
llvm-lto-output.ll [LTO] Add options to llvm-lto to select output format and dump merged module 2015-11-20 00:13:05 +00:00
no-undefined-puts-when-implemented.ll [opaque pointer type] Add textual IR support for explicit type parameter to the call instruction 2015-04-16 23:24:18 +00:00
parallel.ll Add powerpc64 to parallel.ll unsupported architecture list. 2015-09-04 19:45:36 +00:00
pr25919.ll Don't try to check all uses if lazy loading. 2016-01-15 18:23:46 +00:00
private-symbol.ll
restore-externals.ll [LTO] Restore original linkage of externals prior to splitting 2016-01-18 23:24:54 +00:00
runtime-library.ll
set-merged.ll Revert r265817 2016-04-08 18:15:37 +00:00
strip-debug-info.ll Allow the LTO code generator to strip invalid debug info from the input. 2016-05-09 19:57:15 +00:00
symver-asm.ll
triple-init.ll
unnamed.ll LTO: Don't bother trying to mangle unnamed globals, as they can't be preserved with MustPreserveSymbols. 2016-04-27 23:48:11 +00:00