[llvm-bugs] [Bug 36472] New: clang frontend command failed due to signal

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 21 15:23:43 PST 2018


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

            Bug ID: 36472
           Summary: clang frontend command failed due to signal
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: stsp at list.ru
                CC: llvm-bugs at lists.llvm.org

Created attachment 19924
  --> https://bugs.llvm.org/attachment.cgi?id=19924&action=edit
test-case

The attached test-case produces the compiler crash.

$ clang++ -std=c++11 -c malloca.cpp
clang-5.0: error: unable to execute command: Segmentation fault (core dumped)
clang-5.0: error: clang frontend command failed due to signal (use -v to see
invocation)

This code is actually a result of the question I asked here:
https://stackoverflow.com/questions/48915888/allocate-shared-with-malloc
Maybe someone from clang devs/C++ gurus can hint me about
why do I need to manually override the delete operator here?

-- 
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/20180221/e770719d/attachment.html>


More information about the llvm-bugs mailing list