[llvm-bugs] [Bug 48119] A null pointer dereference error in FileAnalysis::parseSectionContents

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 9 06:09:29 PST 2020


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

Ella Ma <alansnape3058 at gmail.com> changed:

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

--- Comment #1 from Ella Ma <alansnape3058 at gmail.com> ---
Sorry for the false report. I mixing up Expected and Error.

For Error, operator bool returns true if there is an error; while for Expected,
operator bool returns true if there is no error. I mixed up these two classes.

I will close this report.

-- 
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/20201109/7f09dc9f/attachment-0001.html>


More information about the llvm-bugs mailing list