[llvm-bugs] [Bug 34261] New: Clang does not output local variable information with /O0 /Od for NRVO'ed variables.
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 21 12:17:30 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34261
Bug ID: 34261
Summary: Clang does not output local variable information with
/O0 /Od for NRVO'ed variables.
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: DebugInfo
Assignee: llvm at inglorion.net
Reporter: zturner at google.com
CC: llvm-bugs at lists.llvm.org
std::string func() {
std::string S = "foo";
S += " bar";
return S;
}
if you build with clang-cl at O0 and /Od and set a breakpoint, MSVC and WinDbg
will say that variable information for S is not present.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170821/96526e5c/attachment.html>
More information about the llvm-bugs
mailing list