Open llvmbot opened 8 years ago
@llvm/issue-subscribers-debuginfo
Author: None (llvmbot)
Probably fixed in the last 8 years or so, for example in a3bc043caaa , but I've no time to check properly. Just a note to anyone reading this ticket that the implementation referred to here lives on in llvm/lib/CodeGen/LiveDebugValues/VarLocBasedImpl.cpp, and isn't the default on x86 any more.
Extended Description
The attached C code, when compiled by recent clang, and the flags
-g -O3
, does this: