"git@repo.hca.bsc.es:rferrer/llvm-epi.git" did not exist on "46f0a97e2c30f4d457eb9b456ee6e1cd864369d8"
DebugInfo: PR19298: function local const variables duplicated in the root scope
See the comment for CodeGenFunction::tryEmitAsConstant that describes how in some contexts (lambdas) we must not emit references to the variable, but instead use the constant directly - because of this we end up emitting a constant for the variable, as well as emitting the variable itself. Should we just skip putting the variable on the stack at all and omit the debug info for the constant? It's not clear to me - what if the address of the local is taken? llvm-svn: 205651
Loading
Please register or sign in to comment