aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2015-03-02 06:33:51 +0000
committerOwen Anderson <resistor@mac.com>2015-03-02 06:33:51 +0000
commit040f2f890e95d777e19cb11f090095c86c8d2034 (patch)
tree477652b18ebc254c660aa839c0aeae91714d3869 /clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
parentd333c36e8a765bc08ec0fb44bafcfa10870818c1 (diff)
downloadllvm-040f2f890e95d777e19cb11f090095c86c8d2034.zip
llvm-040f2f890e95d777e19cb11f090095c86c8d2034.tar.gz
llvm-040f2f890e95d777e19cb11f090095c86c8d2034.tar.bz2
Teach DataLayout that pointer ABI and preferred alignments are required to be powers of two.
Previously this resulted in asserts and/or crashes (depending on build configuration) at various phases in the optimizer. llvm-svn: 230938
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions