[llvm-bugs] [Bug 44817] New: clang crashes when load my ModulePass
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Feb 6 23:52:04 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=44817
Bug ID: 44817
Summary: clang crashes when load my ModulePass
Product: clang
Version: 9.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: pcy190 at 126.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
Created attachment 23104
--> https://bugs.llvm.org/attachment.cgi?id=23104&action=edit
The crash backtrace and error log of clang output
When I load my pass with empty runOnModule which outs<<"status" only, the pass
and clang work well. But when I iterator the Module object or use any
attributes of Modules, the clang crashes.
I just attach the crash error log and my code.
Following the crash clang output instructions, I submit this bug.
I compile the llvm 9.0.0 source and test it under Ubuntu18.04 x64 platform.
--
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/20200207/b018650c/attachment.html>
More information about the llvm-bugs
mailing list