aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@quarkslab.com>2018-01-05 19:41:19 +0000
committerSerge Guelton <sguelton@quarkslab.com>2018-01-05 19:41:19 +0000
commit4c975578b42a3adcfa5f7d08d67feff589f03398 (patch)
tree1f801ff57ceaee8fe68853241b414a6a9c9f94de /clang/lib/Lex/ModuleMap.cpp
parent9e52e50ac0afc182a899706f436934b570eaf09b (diff)
downloadllvm-4c975578b42a3adcfa5f7d08d67feff589f03398.zip
llvm-4c975578b42a3adcfa5f7d08d67feff589f03398.tar.gz
llvm-4c975578b42a3adcfa5f7d08d67feff589f03398.tar.bz2
Limit size of non-GlobalValue name
Otherwise, in some extreme test case, very long names are created and the compiler consumes large amount of memory. Size limit is set to a relatively high value not to disturb debugging. Compiler flag -non-global-value-max-name-size=<value> can be used to customize the size. Differential Revision: https://reviews.llvm.org/D41296 llvm-svn: 321886
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions