Displaying 5 results from an estimated 5 matches for "emitcxxconstructor".
2012 Jul 10
2
[LLVMdev] Clang error compiling
...0x0000000000785289
clang::CodeGen::CodeGenTypes::GetFunctionType(clang::GlobalDecl) + 9
12 clang 0x00000000007800df
clang::CodeGen::CodeGenModule::TryEmitDefinitionAsAlias(clang::GlobalDecl,
clang::GlobalDecl) + 175
13 clang 0x000000000078040b
clang::CodeGen::CodeGenModule::EmitCXXConstructor(clang::CXXConstructorDecl
const*, clang::CXXCtorType) + 123
14 clang 0x000000000074fa73
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) + 419
15 clang 0x000000000075126a
clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) + 1530
16 clang...
2011 Jul 08
0
[LLVMdev] type-system-rewrite branch near landing
...k of which types are based (directly
or indirectly) on incomplete types, so for the time being I'm clearing
the whole of the TypeCache and the FunctionInfos cache every time any
type is completed. I realise this is a bit brutal.
Now I'm running into another problem with the implementation:
EmitCXXConstructor() and EmitCXXDestructor() don't do most of the
stuff that's done for normal functions in
EmitGlobalFunctionDefinition. In particular, they're not prepared to
find an existing LLVM declaration of the function with the wrong LLVM
type, and replace it with a definition having the right typ...
2011 Jul 07
7
[LLVMdev] type-system-rewrite branch near landing
On Thu, Jul 7, 2011 at 12:55 AM, Jay Foad <jay.foad at gmail.com> wrote:
>> 1. Clang - Jay, do you have a patch for this?
>
> Yes. It's good enough to build most of LLVM+Clang, except for a couple
> of files. But I'm running out of time and expertise to be able to fix
> the remaining bits. Some specific concerns:
>
> 1. Many Objective-C(++) tests fail, because
2015 Jan 14
3
[LLVMdev] Crash on invalid during LLVMContext destruction MDNode::dropAllReferences
Hi Duncan,
I came across something like the following recently which I guess might be
related to your recent work. Any ideas?
$ clang++-tot -cc1 crash_on_invalid.cpp -g -emit-obj -fexceptions
-fcxx-exceptions
crash_on_invalid.cpp:13:1: error: C++ requires a type specifier for all
declarations
x;
^
1 error generated.
*** Error in `clang++-tot': corrupted double-linked list:
0x000000000754f340
2015 Jan 14
2
[LLVMdev] Crash on invalid during LLVMContext destruction MDNode::dropAllReferences
...(/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x10278d224)
> #12 0x10d6b18c7 in
> clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl)
> (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x1027908c7)
> #13 0x10d759319 in (anonymous
> namespace)::ItaniumCXXABI::EmitCXXConstructors(clang::CXXConstructorDecl
> const*) (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x102838319)
> #14 0x10d6b5d0a in
> clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*)
> (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x102794d0a)
> #15 0x10d78fa0c in (...