diff options
author | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-08-08 16:09:15 +0000 |
---|---|---|
committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-08-08 16:09:15 +0000 |
commit | 4c004f3e13a65e82bba4064dc5e35ca2ad41ac81 (patch) | |
tree | 91fd5751e85eb1a18e28b52d66c37f102b40a437 /libcxx/src/stdexcept.cpp | |
parent | c0cebeddb2014733a01d0af0624d489af8fa017b (diff) | |
download | llvm-4c004f3e13a65e82bba4064dc5e35ca2ad41ac81.zip llvm-4c004f3e13a65e82bba4064dc5e35ca2ad41ac81.tar.gz llvm-4c004f3e13a65e82bba4064dc5e35ca2ad41ac81.tar.bz2 |
Preprocessor: fix __OPTIMIZE_SIZE__ and -Oz
Add some tests for __OPTIMIZE_SIZE__ and __NO_INLINE__,
removing the superfluous copies in the target-specific
tests, since it's target-independent.
This uncovered a bug in the handling of -Oz: it would
attempt to store the value 2 in the 1-bit bitfield OptimizeSize,
leaving a value of 0 and never defining __OPTIMIZE_SIZE__.
llvm-svn: 161495
Diffstat (limited to 'libcxx/src/stdexcept.cpp')
0 files changed, 0 insertions, 0 deletions