diff options
| author | Chris Bieneman <beanz@apple.com> | 2016-07-25 18:54:30 +0000 |
|---|---|---|
| committer | Chris Bieneman <beanz@apple.com> | 2016-07-25 18:54:30 +0000 |
| commit | c486541fea5db3a329132949c61ecf443aac3aea (patch) | |
| tree | 7d1fec74ffe80469df281fb49b2bde83db37be96 /llvm/test/Transforms/SafeStack/layout-region-split.ll | |
| parent | 705f7775bb6c1863da2cbde59270d545653f00d6 (diff) | |
| download | bcm5719-llvm-c486541fea5db3a329132949c61ecf443aac3aea.tar.gz bcm5719-llvm-c486541fea5db3a329132949c61ecf443aac3aea.zip | |
[CMake] Cleaning up some CMake warnings
In Bootstrap builds Clang logs some warnings. These are caused because Clang passes CLANG_STAGE and BOOTSTRAP_DEFAULT_PASSTHROUGH into the next stage's configuration.
BOOTSTRAP_DEFAULT_PASSTHROUGH shouldn't be passed, so it is renamed to _BOOTSTRAP_DEFAULT_PASSTHROUGH, to prevent passthrough.
CLANG_STAGE should be passed, so I've changed the code to log it if it is set outside the if(CLANG_ENABLE_BOOTSTRAP) block. This makes the variable always used, so the warning goes away.
llvm-svn: 276674
Diffstat (limited to 'llvm/test/Transforms/SafeStack/layout-region-split.ll')
0 files changed, 0 insertions, 0 deletions

