[LLVMbugs] [Bug 12674] Garbage characters at the end of "expanded from macro" notes (lots of <U+0000>)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 26 14:42:15 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=12674

Nico Weber <nicolasweber at gmx.de> changed:

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

--- Comment #4 from Nico Weber <nicolasweber at gmx.de> 2012-04-26 16:42:15 CDT ---
-fmessage-length=100000 lets it repro as well. When running tests through lit,
that's not even necessary.

I've reverted r154981 in r155666, and added a test case for this bug. That
means that diagnostics for strings with embedded raw 0 characters now get
truncated diagnostics again, but that's a bit of a corner case, while this bug
happens pretty often in practice. (Also, we aren't showing correct diagnostics
for strings with embedded raw \n characters either.)

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list