llvm-6502/tools/lto
Lang Hames a991b254f7 Make LTO codegen use a PassManager, rather than a FunctionPassManager, for the
codegen passes. This brings it in to line with clang and llc's codegen setup,
and tidies up the code.

If I understand correctly, adding ModulePasses to a FunctionPassManager is
bogus. It only seems to explode if an added ModulePass depends on a
FunctionPass though, which might be why this code has survived so long.

Fixes <rdar://problem/13386816>.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176977 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-13 21:18:46 +00:00
..
CMakeLists.txt
lto.cpp
lto.exports
LTOCodeGenerator.cpp Make LTO codegen use a PassManager, rather than a FunctionPassManager, for the 2013-03-13 21:18:46 +00:00
LTOCodeGenerator.h
LTODisassembler.cpp
LTOModule.cpp Fix a copy/paste-o that got missed because 'check' doesn't build lto. 2013-01-31 23:34:47 +00:00
LTOModule.h Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
Makefile Use 'RC_XBS' instead of 'RC_BUILDIT' to catch all times when it's built in the Apple way. 2013-02-13 19:44:08 +00:00