summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2015-12-28 17:19:12 +0000
committerSerge Pavlov <sepavloff@gmail.com>2015-12-28 17:19:12 +0000
commita6adc9e790a3537ac05f45b1ab8e7fe7e09d5991 (patch)
tree30d6d67fc0e4bfc4bbc33276eba210030b19d7a3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentd0af3b3178082971725c1bd688ed935f64ffa6b2 (diff)
Avoid crash when dumping LocInfoType.
LocInfoType is a helper type used internally inside Sema and Parser, it does not exist in valid AST. LocInfoType uses code value outside the range of valid Type codes, as a result, dumping such type causes error. The fix allows correct dumping LocInfoType. llvm-svn: 256503
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions