Add the -disable-opt option to LTO. This adds:
authorBill Wendling <isanbard@gmail.com>
Thu, 28 Feb 2013 14:11:10 +0000 (14:11 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 28 Feb 2013 14:11:10 +0000 (14:11 +0000)
commit6303b661b390ef37185f7e5f5cdd352287caf1fc
tree77307db80e2d6c95bafcd08e341be98470138859
parent279b9184c2ff4fea93b198a3519b8cb3a1d8d195
Add the -disable-opt option to LTO. This adds:

- Consistency with opt (which supports the same option with the same meaning and
  description).
- Debugging gold plugin-based linking without optimizations getting in the way.
- Debugging programs linked with the gold plugin while preserving the original
  debug info.
- Fine-grained control over LTO passes using the gold plugin in combination with
  opt (or clang/dragonegg).

Patch by Cristiano Giuffrida!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176257 91177308-0d34-0410-b5e6-96231b3b80d8
tools/lto/LTOCodeGenerator.cpp