summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorVolodymyr Sapsai <vsapsai@apple.com>2018-12-07 20:29:54 +0000
committerVolodymyr Sapsai <vsapsai@apple.com>2018-12-07 20:29:54 +0000
commit978be4c1a360832fd90a03bb57441bf7de647c10 (patch)
treed7e9fd74ccbcab93d453385075655485dd8956ef /llvm/lib/Transforms
parent03f9f15b16878e9a487429a39da6cb1934c27a15 (diff)
downloadbcm5719-llvm-978be4c1a360832fd90a03bb57441bf7de647c10.tar.gz
bcm5719-llvm-978be4c1a360832fd90a03bb57441bf7de647c10.zip
[Preprocessor] Don't avoid entering included files after hitting a fatal error.
Change in r337953 violated the contract for `CXTranslationUnit_KeepGoing`: > Do not stop processing when fatal errors are encountered. Use different approach to fix long processing times with multiple inclusion cycles. Instead of stopping preprocessing for fatal errors, do this after reaching the max allowed include depth and only for the files that were processed already. It is likely but not guaranteed those files cause a cycle. rdar://problem/46108547 Reviewers: erik.pilkington, arphaman Reviewed By: erik.pilkington Subscribers: jkorous, dexonsmith, ilya-biryukov, Dmitry.Kozhevnikov Differential Revision: https://reviews.llvm.org/D55095 llvm-svn: 348641
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud