[llvm-bugs] [Bug 51397] New: llvm SEGV after indirect call promotion
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Aug 6 19:25:45 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51397
Bug ID: 51397
Summary: llvm SEGV after indirect call promotion
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Miscellaneous Instrumentation passes
Assignee: unassignedbugs at nondot.org
Reporter: wmi at google.com
CC: llvm-bugs at lists.llvm.org
Created attachment 25116
--> https://bugs.llvm.org/attachment.cgi?id=25116&action=edit
test.ll
Starting from
https://github.com/llvm/llvm-project/commit/e4f66a10556c82e2ebf2469fafc1c26639f15be8,
we have seen SEGV in one of our internal test.
I extracted a testcase test.ll to reproduce the same failure:
opt -passes=pgo-icall-prom -profile-summary-hot-count=10 -S test.ll -o
/dev/null
PLEASE submit a bug report to http://go/llvm-crash-bug and include the crash
backtrace.
Stack dump:
0. Program arguments: opt -passes=pgo-icall-prom
-profile-summary-hot-count=10 -S test.ll -o /dev/null
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH
or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 opt 0x000056271b85e438 llvm::sys::RunSignalHandlers() + 248
1 opt 0x000056271b861271
2 libpthread.so.0 0x00007f689dff79a0
3 opt 0x000056271b6b50ce
4 opt 0x000056271b6b2ac6
5 opt 0x000056271b6c7f9e
6 opt 0x000056271b6c03e4
7 opt 0x000056271b6ab3b7
8 opt 0x000056271b6b1d63
llvm::VerifierAnalysis::run(llvm::Module&,
llvm::AnalysisManager<llvm::Module>&) + 99
9 opt 0x0000562719e8f80f
llvm::detail::AnalysisPassModel<llvm::Module, llvm::VerifierAnalysis,
llvm::PreservedAnalyses,
llvm::AnalysisManager<llvm::Module>::Invalidator>::run(llvm::Module&,
llvm::AnalysisManager<llvm::Module>&) + 15
10 opt 0x000056271b687634
llvm::AnalysisManager<llvm::Module>::getResultImpl(llvm::AnalysisKey*,
llvm::Module&) + 500
11 opt 0x000056271b6b1e8f llvm::VerifierPass::run(llvm::Module&,
llvm::AnalysisManager<llvm::Module>&) + 111
12 opt 0x0000562718f94832 llvm::detail::PassModel<llvm::Module,
llvm::VerifierPass, llvm::PreservedAnalyses,
llvm::AnalysisManager<llvm::Module> >::run(llvm::Module&,
llvm::AnalysisManager<llvm::Module>&) + 18
13 opt 0x000056271b684dfe llvm::PassManager<llvm::Module,
llvm::AnalysisManager<llvm::Module> >::run(llvm::Module&,
llvm::AnalysisManager<llvm::Module>&) + 510
14 opt 0x0000562718f8ba2a llvm::runPassPipeline(llvm::StringRef,
llvm::Module&, llvm::TargetMachine*, llvm::TargetLibraryInfoImpl*,
llvm::ToolOutputFile*, llvm::ToolOutputFile*, llvm::ToolOutputFile*,
llvm::StringRef, llvm::ArrayRef<llvm::StringRef>, llvm::opt_tool::OutputKind,
llvm::opt_tool::VerifierKind, bool, bool, bool, bool, bool, bool) + 13386
15 opt 0x0000562718f9b389 main + 6089
16 libc.so.6 0x00007f689de65bbd __libc_start_main + 253
17 opt 0x0000562718f87169 _start + 41
Segmentation fault
--
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/20210807/5b294f78/attachment-0001.html>
More information about the llvm-bugs
mailing list