aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-11-22 01:58:59 +0000
committerGreg Clayton <gclayton@apple.com>2014-11-22 01:58:59 +0000
commit54166af611bdc90ca2ed2974316218712fcc107d (patch)
tree396246aa0cf6922c581fa7e41dbdbb6d14164984 /clang/lib/Sema/Sema.cpp
parentcea6d634a5e6c6a42ac2a9ff8de223023a49381d (diff)
downloadllvm-54166af611bdc90ca2ed2974316218712fcc107d.zip
llvm-54166af611bdc90ca2ed2974316218712fcc107d.tar.gz
llvm-54166af611bdc90ca2ed2974316218712fcc107d.tar.bz2
Fixed an issue where a DW_FORM_ref{2,4,8} might be extracted incorrectly because the wrong compile unit was being used to calculate the compile unit relative offset.
This was fixed by making the DWARFFormValue contain the compile unit that it needs so it can decode its form value correctly. Any form value that requires a compile unit will now assert. If any of the assertions that were added are triggered, then code that led to the extraction of the form value without properly setting the compile unit must be fixed immediately. <rdar://problem/19035440> llvm-svn: 222602
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
0 files changed, 0 insertions, 0 deletions