aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/StringRefTest.cpp
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2011-09-30 12:31:57 +0000
committerTorok Edwin <edwintorok@gmail.com>2011-09-30 12:31:57 +0000
commit319a1415b88d43873717a917023774b570e8a711 (patch)
treef025a264e5d7b0e8875273a16b60ab7a56ba5898 /llvm/unittests/ADT/StringRefTest.cpp
parent0d164012286d824d3e980d224fa8e01d1b162b9a (diff)
downloadllvm-319a1415b88d43873717a917023774b570e8a711.zip
llvm-319a1415b88d43873717a917023774b570e8a711.tar.gz
llvm-319a1415b88d43873717a917023774b570e8a711.tar.bz2
Instead of crashing when MCAsmInfo is NULL, add an assert.
This helps with porting code from 2.9 to 3.0 as TargetSelect.h changed location, and if you include the old one by accident you will trigger this assert. llvm-svn: 140848
Diffstat (limited to 'llvm/unittests/ADT/StringRefTest.cpp')
0 files changed, 0 insertions, 0 deletions