diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-08-13 10:49:33 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-08-13 10:49:33 +0000 |
commit | 0fb998110abcf3d67495d12f854a1576b182d811 (patch) | |
tree | 3ccfebccc918a563962362b35aae2306c0c6f01c /clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp | |
parent | 1013b6b60c66f1e781b79e402d79718ffb4db5af (diff) | |
download | llvm-0fb998110abcf3d67495d12f854a1576b182d811.zip llvm-0fb998110abcf3d67495d12f854a1576b182d811.tar.gz llvm-0fb998110abcf3d67495d12f854a1576b182d811.tar.bz2 |
[optnone] Make the optnone attribute effective at suppressing function
attribute and function argument attribute synthesizing and propagating.
As with the other uses of this attribute, the goal remains a best-effort
(no guarantees) attempt to not optimize the function or assume things
about the function when optimizing. This is particularly useful for
compiler testing, bisecting miscompiles, triaging things, etc. I was
hitting specific issues using optnone to isolate test code from a test
driver for my fuzz testing, and this is one step of fixing that.
llvm-svn: 215538
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions