summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2016-05-31 22:29:56 +0000
committerGreg Clayton <gclayton@apple.com>2016-05-31 22:29:56 +0000
commit892fa7dbcb631c5af36949ec16af4530e2b44eaf (patch)
treeab1cef061f31e512f3f6a6a048f5e870de4342aa /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parented0b620a653091f225743ce790d260b1d6f6a97e (diff)
Add more verification on consectutive bitfields otherwise clang will assert.
We need to verify that consecutive bitfields have higher offsets and don't overlap. The issues was found by running a broken version of recent clangs where the bitfield offsets were being emitted incorrectly. To guard against this we now verify and toss out any invalid bitfields and print a message that indicates to file a bug against the compiler. <rdar://problem/25737621> llvm-svn: 271343
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions