[LLVMbugs] [Bug 21754] New: crash on definition of sized operator delete
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Dec 4 14:43:28 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21754
Bug ID: 21754
Summary: crash on definition of sized operator delete
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++14
Assignee: lvoufo at gmail.com
Reporter: richard-llvm at metafoo.co.uk
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
This code results in an assertion in C++14 mode:
void operator delete(void*, unsigned long) __attribute__((alias("foo")));
extern "C" void foo(void*, unsigned long) {}
Failing with:
lib/CodeGen/CodeGenModule.cpp:1105: void
clang::CodeGen::CodeGenModule::EmitDeferred(): Assertion `GV ==
GetGlobalValue(getMangledName(D))' failed.
0 clang-3.6 0x0000000001f6226e llvm::sys::PrintStackTrace(_IO_FILE*) +
46
[...]
8 clang-3.6 0x00000000027b2b1a
clang::CodeGen::CodeGenModule::EmitDeferred() + 730
9 clang-3.6 0x00000000027b20df clang::CodeGen::CodeGenModule::Release()
+ 31
--
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/20141204/786e2f63/attachment.html>
More information about the llvm-bugs
mailing list