summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-11-18 03:50:50 +0000
committerRui Ueyama <ruiu@google.com>2013-11-18 03:50:50 +0000
commit2bafe7353e30d120573ebca0dfbb9eeb92d66770 (patch)
treeff6080cb2bb3d8fbd3fb2ad6c567b5d22890781c /clang/lib/Frontend/CompilerInvocation.cpp
parent101d3452278ab7d9852c86decaf2665d47812f8d (diff)
downloadbcm5719-llvm-2bafe7353e30d120573ebca0dfbb9eeb92d66770.tar.gz
bcm5719-llvm-2bafe7353e30d120573ebca0dfbb9eeb92d66770.zip
Add an assert for NativeReferenceIvarsV1.
The maximum number of references the file with NativeReferenceIvarsV1 can contain is 65534. If a file larger than that is converted to Native format, the conversion will fail without any error message. This caused a subtle bug that the LLD would produce a broken executable only when input files contain too many references. This issue exists since the RoundTripNativeTest is introduced in r193585. Since then, it seems that nobody have linked any program having more than 65534 relocations with the LLD. Otherwise we would have found it earlier. llvm-svn: 194987
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud