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: unassignedclangb...@nondot.org
Reporter: pcy...@126.com
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
neeil...@live.com, richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs