aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ErrorTest.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-07-11 05:39:20 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-07-11 05:39:20 +0000
commit01f0c8a8c466b11a835745397c82a3bb1ccb0945 (patch)
tree7b6d5fbba5caecfd20b92a683f4c7bfba5fec3d6 /llvm/unittests/Support/ErrorTest.cpp
parentdf6a0fb8a7921188148fd853b22526c74ebcc866 (diff)
downloadllvm-01f0c8a8c466b11a835745397c82a3bb1ccb0945.zip
llvm-01f0c8a8c466b11a835745397c82a3bb1ccb0945.tar.gz
llvm-01f0c8a8c466b11a835745397c82a3bb1ccb0945.tar.bz2
[PM/ThinLTO] Fix PR33536, a bug where the ThinLTO bitcode writer was
querying for analysis results on a function declaration rather than a definition. The only reason this worked previously is by chance -- because the way we got alias analysis results with the legacy PM, we happened to not compute a dominator tree and so we happened to not hit an assert even though it didn't make any real sense. Now we bail out before trying to compute alias analysis so that we don't hit these asserts. llvm-svn: 307625
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions