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: unassignedclangb...@nondot.org
          Reporter: s...@list.ru
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to