1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/include/llvm
Duncan P. N. Exon Smith f163b980cd LTO: Verify the input even if optimize() isn't called
Clients may call writeMergedModules before calling optimize, or call
compileOptimized without calling optimize.  Make sure they don't sneak
past the verifier.  This adds LTOCodeGenerator::verifyMergedModuleOnce,
and calls it from writeMergedModule, optimize, and codegenOptimized.

I couldn't find a good way to test this.  I tried writing broken IR to
send into llvm-lto, but LTOCodeGenerator doesn't understand textual IR,
and assembler runs the verifier itself anyway.  Checking in
valid-but-doesn't-verify bitcode here doesn't seem valuable.

llvm-svn: 266894
2016-04-20 17:48:22 +00:00
..
ADT [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Analysis [ValueTracking, VectorUtils] Refactor getIntrinsicIDForCall 2016-04-19 19:10:21 +00:00
AsmParser [AsmParser] Expose an API to parse a string starting with a type. 2016-03-08 00:37:07 +00:00
Bitcode ThinLTO: Make aliases explicit in the summary 2016-04-16 06:56:44 +00:00
CodeGen ScoreboardHazardRecognizer: unbreak TSAN by moving a static mutated variable to a member 2016-04-20 00:21:24 +00:00
Config [CMake] Add PACKAGE_VENDOR for customizing version output 2016-03-15 18:07:46 +00:00
DebugInfo [llvm-pdbdump] Print a better error message when PDB loading fails. 2016-04-19 17:36:58 +00:00
ExecutionEngine [Orc] Add move ops for OrcRemoteTargetClient and OrcRemoteTargetServer to 2016-04-19 20:22:50 +00:00
IR IR: Use a single ModuleSlotTracker in the Verifier 2016-04-20 17:27:44 +00:00
IRReader [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
LibDriver [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
LineEditor
Linker Linker: Share a single Metadata map for the lifetime of IRMover 2016-04-17 23:30:31 +00:00
LTO LTO: Verify the input even if optimize() isn't called 2016-04-20 17:48:22 +00:00
MC [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Object [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
ObjectYAML [msan fix] unitalized variable 2016-03-17 19:16: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 [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
ProfileData Revert "Replace the use of MaxFunctionCount module flag" 2016-04-18 15:31:11 +00:00
Support Add missing header, found by modules selfhost. 2016-04-18 23:24:39 +00:00
TableGen Reverting r263474; it turns out there are uses of the public interface, but MSVC wasn't caring about them. 2016-03-14 20:03:15 +00:00
Target [PPC, SSP] Support PowerPC Linux stack protection. 2016-04-19 20:14:52 +00:00
Transforms [ThinLTO] Prevent importing of "llvm.used" values 2016-04-20 14:39:45 +00:00
CMakeLists.txt
InitializePasses.h Introduce a "patchable-function" function attribute 2016-04-19 05:24:47 +00:00
LinkAllIR.h Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
LinkAllPasses.h Port InstrProfiling pass to the new pass manager 2016-04-18 17:47:38 +00:00
module.modulemap Add Lanai.def to the module map. 2016-03-12 01:31:53 +00:00
module.modulemap.build
Pass.h Recommit r256952 "Filtering IR printing for print-after-all/print-before-all" 2016-01-06 22:55:03 +00:00
PassAnalysisSupport.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
PassInfo.h Reformat partially. 2015-10-05 04:46:30 +00:00
PassRegistry.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
PassSupport.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00