[llvm-bugs] [Bug 40882] Clang7 Crash

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 27 15:29:19 PST 2019


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |rnk at google.com

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
Does not crash with trunk, so I think this has been fixed. This was the crash
stack trace:

1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'/tmp/actor-framework-0.16.0/libcaf_core/test/inspector.cpp'.
4.      Running pass 'Merge contiguous icmps into a memcmp' on function
'@_ZN12_GLOBAL__N_19test_implINS_27binary_serialization_policyEEEvRT_'
#0 0x000000000145c292 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/pkg/gcc7/bin/clang-7+0x145c292)
#1 0x000000000145a967 llvm::sys::RunSignalHandlers()
(/usr/pkg/gcc7/bin/clang-7+0x145a967)
#2 0x000000000145aa80 SignalHandler(int) (/usr/pkg/gcc7/bin/clang-7+0x145aa80)
#3 0x00007f27f25325d0 __restore_rt (/usr/lib64/libpthread.so.0+0xf5d0)
#4 0x0000000000f1ddc8 llvm::BasicBlock::getModule() const
(/usr/pkg/gcc7/bin/clang-7+0xf1ddc8)
#5 0x000000000134d06b (anonymous namespace)::visitICmpLoadOperand(llvm::Value*)
(/usr/pkg/gcc7/bin/clang-7+0x134d06b)
#6 0x000000000134d62c (anonymous namespace)::visitICmp(llvm::ICmpInst const*,
llvm::CmpInst::Predicate) (/usr/pkg/gcc7/bin/clang-7+0x134d62c)
#7 0x0000000001354102 (anonymous
namespace)::MergeICmps::runOnFunction(llvm::Function&)
(/usr/pkg/gcc7/bin/clang-7+0x1354102)


I see a lot of work on the MergeICmps pass since 7.0, so it's hard to say what
fixed this.

-- 
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/20190227/fe2c4726/attachment.html>


More information about the llvm-bugs mailing list