Ericsson / clang

Cross Translation Unit analysis capability for Clang Static Analyzer. (Fork of official clang at http://llvm.org/git/clang)
http://clang.llvm.org/
Other
15 stars 10 forks source link

introduce parameter to control the number of TUs to import #605

Closed dkrupp closed 5 years ago

dkrupp commented 5 years ago

in order to constraint the memory usage of the CTU analysis.

dkrupp commented 5 years ago

https://github.com/Ericsson/clang/pull/619

dkrupp commented 5 years ago

create OS patch

gamesh411 commented 5 years ago

patch: https://reviews.llvm.org/D59798

dkrupp commented 5 years ago

Please reimplement the option in ctu-clang7 branch so that the parameter is given like -cc1 -analyzer-config ctu-import-threshold=22

gamesh411 commented 5 years ago

PR for our branch: #642