aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/StringRef.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
commit10a11ecb59b8b9d5de462930960df0d4bd4bf801 (patch)
tree1465477b338d62d822dabdb1703de9b01d4f1a7c /lib/Support/StringRef.cpp
parent25a7d94e81317a5f562631906692c4761dcd2395 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions