[llvm-bugs] [Bug 50112] MemorySanitizer: use-of-uninitialized-value in std::string s = "x"; s.data(); on -O0

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 9 13:27:30 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50112

Martijn Vels <mvels at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #8 from Martijn Vels <mvels at google.com> ---
Resolving: this is WAD, the problem is mixing code build with sanitizers
enabled, and (libc++) library code build without sanitizers results in false
positives / errors.

-- 
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/20210909/87b26be5/attachment.html>


More information about the llvm-bugs mailing list