summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-06-18 01:21:33 +0000
committerHans Wennborg <hans@hanshq.net>2014-06-18 01:21:33 +0000
commita0ca209303aec31f81154367482d1351f77e8c6d (patch)
tree0d636fa9bfff0ac125c9fcc6d46be9ba0e336492 /clang/lib/CodeGen
parent5799e291e14a71a12e12b3106f550b28b0beabb6 (diff)
downloadbcm5719-llvm-a0ca209303aec31f81154367482d1351f77e8c6d.tar.gz
bcm5719-llvm-a0ca209303aec31f81154367482d1351f77e8c6d.zip
Fix bug in code for avoiding dynamic initialization of dllimport globals
When instantiating dllimport variables with dynamic initializers, don't bail out of Sema::InstantiateVariableInitializer without calling PopExpressionEvaluationContext(). This was causing a stale object to stay on the ExprEvalContexts stack, causing subsequent calls to getCurrentMangleNumberContext() to fail, resulting in incorrect numbering of static locals (and probably other broken things). llvm-svn: 211137
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud