search for: handletopleveldecl

Displaying 6 results from an estimated 6 matches for "handletopleveldecl".

2013 Feb 08
2
[LLVMdev] assert when mixing static and non-static members with an external AST source
.../tools/clang/lib/CodeGen/CodeGenModule.cpp:1080 #52 0x00007ffff4c80143 in clang::CodeGen::CodeGenModule::EmitTopLevelDecl (this=0xd63cf0, D=0xd6a090) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CodeGenModule.cpp:2783 #53 0x00007ffff4cdaf54 in (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl (this=0xd5cde0, DG=...) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/ModuleBuilder.cpp:69 #54 0x00007ffff4332dd3 in lldb_private::ASTResultSynthesizer::HandleTopLevelDecl (this=0xd5e320, D=...) at /home/athirumurthi/git/lldb/tools/lldb/source/Expression/ASTResultSynthesizer.cpp:12...
2012 Feb 25
0
[LLVMdev] Clang plugin - save metadata
Hi! I've tried to write a plugin for clang using an example. class PrintInheritanceConsumer : public ASTConsumer { public: virtual void HandleTopLevelDecl(DeclGroupRef DG) { ......... } }; I need to save Metadata for Type or Module into IR, but I can't find a way to do this, can you help me? Thanks! Yours sincerely, Kadysev Mikhail -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pip...
2016 Jan 22
2
Clang 3.8 fails with asan enabled
...anitizer/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:1547:5 #9 0x28bb5bb in clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) /export/users/amitrokh/llvm-sanitizer/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:3508:5 #10 0x3a247bd in (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) /export/users/amitrokh/llvm-sanitizer/llvm/tools/clang/lib/CodeGen/ModuleBuilder.cpp:125:9 #11 0x3a21c09 in clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) /export/users/amitrokh/llvm-sanitizer/llvm/tools/clang/lib/CodeGen/CodeGenAction.cpp:118:7 #12 0x4...
2013 Feb 15
0
[LLVMdev] assert when mixing static and non-static members with an external AST source
.../tools/clang/lib/CodeGen/CodeGenModule.cpp:1080 #52 0x00007ffff4c80143 in clang::CodeGen::CodeGenModule::EmitTopLevelDecl (this=0xd63cf0, D=0xd6a090) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CodeGenModule.cpp:2783 #53 0x00007ffff4cdaf54 in (anonymous namespace)::CodeGeneratorImpl::HandleTopLevelDecl (this=0xd5cde0, DG=...) at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/ModuleBuilder.cpp:69 #54 0x00007ffff4332dd3 in lldb_private::ASTResultSynthesizer::HandleTopLevelDecl (this=0xd5e320, D=...) at /home/athirumurthi/git/lldb/tools/lldb/source/Expression/ASTResultSynthesizer.cpp:12...
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
...rs/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 (anonymous > namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) > (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x10286ea0c) > #16 0x10d68e7b2 in > clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) > (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x10276d7b2) > #17 0x10dd927a9 in clang::ParseA...