aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-08-25 22:53:21 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-08-25 22:53:21 +0000
commit42036ae034ae38c326e85f366de7005de024d212 (patch)
treec38631854eb1123610105133019685459a48acf7 /llvm/lib/ExecutionEngine/ExecutionEngine.cpp
parentd718c73f0b792a0f5c18ec08164e307506d97026 (diff)
downloadllvm-42036ae034ae38c326e85f366de7005de024d212.zip
llvm-42036ae034ae38c326e85f366de7005de024d212.tar.gz
llvm-42036ae034ae38c326e85f366de7005de024d212.tar.bz2
Fix bug in llvm::sys::argumentsFitWithinSystemLimits().
This patch fixes a subtle bug in the UNIX implementation of llvm::sys::argumentsFitWithinSystemLimits() regarding the misuse of a static variable. This bug causes our cached number that stores the system command line maximum length to be halved after each call to the function. With a sufficient number of calls to this function, it will eventually report any given command line string to be over system limits. Patch by Rafael Auler. llvm-svn: 216415
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions