diff options
author | Lang Hames <lhames@gmail.com> | 2013-03-13 21:18:46 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2013-03-13 21:18:46 +0000 |
commit | dfa3f8f449b99dc12511288736845e5d23da01d0 (patch) | |
tree | 6473b88ed24652c57cfa994a9b7845bb2c8a6e2e /llvm/lib/Support/FileOutputBuffer.cpp | |
parent | b146baabadb7c721f3fe9a4f60a380ab0b0ce1c3 (diff) | |
download | llvm-dfa3f8f449b99dc12511288736845e5d23da01d0.zip llvm-dfa3f8f449b99dc12511288736845e5d23da01d0.tar.gz llvm-dfa3f8f449b99dc12511288736845e5d23da01d0.tar.bz2 |
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>.
llvm-svn: 176977
Diffstat (limited to 'llvm/lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions