[llvm-bugs] [Bug 44382] New: opt -run-twice raises segmentation fault
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Dec 26 09:49:39 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=44382
Bug ID: 44382
Summary: opt -run-twice raises segmentation fault
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Transformation Utilities
Assignee: unassignedbugs at nondot.org
Reporter: juneyoung.lee at sf.snu.ac.kr
CC: llvm-bugs at lists.llvm.org
```
$ cat aa.ll
define void @f() {
ret void
}
$ opt aa.ll -run-twice
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.
Stack dump:
0. Program arguments: /Users/juneyounglee//llvm/build/bin/opt ./aa.ll
-run-twice
0 opt 0x000000010e892835
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1 opt 0x000000010e891488 llvm::sys::RunSignalHandlers() +
248
2 opt 0x000000010e892e7c SignalHandler(int) + 268
3 libsystem_platform.dylib 0x00007fff708b342d _sigtramp + 29
4 opt 0x000000010e0cea09 forEachUser(llvm::Value const*,
llvm::SmallPtrSet<llvm::Value const*, 32u>&, llvm::function_ref<bool
(llvm::Value const*)>) + 41
5 libdyld.dylib 0x00007fff706ba7fd start + 1
6 libdyld.dylib 0x0000000000000003 start + 18446603338630060039
Segmentation fault: 11
```
This seems to be relevant with whether the input module has ever been updated
by passes.
--
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/20191226/4d8a0d50/attachment.html>
More information about the llvm-bugs
mailing list