diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2017-01-06 20:52:30 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2017-01-06 20:52:30 +0000 |
commit | a7276feed7eed43d39d4444cecd809a6297cb3e6 (patch) | |
tree | 12add5973992908000094210b524365dbbcbbf26 /lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py | |
parent | 00f6beaed46e86463fb88319845947c45e1dfac3 (diff) | |
download | bcm5719-llvm-a7276feed7eed43d39d4444cecd809a6297cb3e6.tar.gz bcm5719-llvm-a7276feed7eed43d39d4444cecd809a6297cb3e6.zip |
Use CodegenOpts::less when creating a TargetMachine for clang `-O1`
Summary:
Clang was initializing the TargetMachine with CodeGenOpt::Default
for O1. This change is aligning it on llc:
-O0: OptLevel = CodeGenOpt::None
-O1: OptLevel = CodeGenOpt::Less
-O2 -Os -Oz: OptLevel = CodeGenOpt::Default
-O3: OptLevel = CodeGenOpt::Aggressive
Reviewers: echristo, chandlerc
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D28409
llvm-svn: 291276
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py')
0 files changed, 0 insertions, 0 deletions