Displaying 19 results from an estimated 19 matches for "emitglobalfunctiondefinition".
2011 Jul 08
0
[LLVMdev] type-system-rewrite branch near landing
...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 type.
Jay.
2012 Apr 23
4
[LLVMdev] gdb + clang/llvm
...tFunctionBody(clang::CodeGen::FunctionArgList&) + 154
21 clang 0x0000000000c19d11 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 971
22 clang 0x0000000000a9025f clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl) + 847
23 clang 0x0000000000a8d2c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) + 445
24 clang 0x0000000000a8cbd2 clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) + 754
25 clang 0x0000000000a932ba clang::Cod...
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
2012 Apr 23
0
[LLVMdev] gdb + clang/llvm
...ody(clang::CodeGen::FunctionArgList&) + 154
> 21 clang 0x0000000000c19d11 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 971
> 22 clang 0x0000000000a9025f clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl) + 847
> 23 clang 0x0000000000a8d2c3 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) + 445
> 24 clang 0x0000000000a8cbd2 clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) + 754
> 25 clang 0x0000000000a9...
2012 Apr 23
1
[LLVMdev] gdb + clang/llvm
...; + 154
> > 21 clang 0x0000000000c19d11
> > clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
> > llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 971
> > 22 clang 0x0000000000a9025f
> > clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl)
> > + 847
> > 23 clang 0x0000000000a8d2c3
> > clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl)
> > + 445
> > 24 clang 0x0000000000a8cbd2
> > clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDe...
2012 Feb 21
5
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
...::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 39
26 clang 0x00000000008f7193
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 995
27 clang 0x00000000007ca16b
clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl)
+ 587
28 clang 0x00000000007dbe0e
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl)
+ 190
29 clang 0x00000000007dc3ed
clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) + 1197
30 clang 0x00000000007dc82b
clang::CodeGen:...
2012 Apr 23
0
[LLVMdev] gdb + clang/llvm
On Apr 20, 2012, at 6:35 PM, Roland Leißa <leissa at cs.uni-saarland.de> wrote:
> ok, I now have a problem in the code generator.
> Let's say I want to set a breakpoint somewhere in
> clang/lib/CodeGen/CGExprScalar.cpp
>
> What do I have to do in order to trigger breakpoints, see backtraces and so on?
You set a breakpoint and ask to see a backtrace?
-eric
2012 Apr 21
2
[LLVMdev] gdb + clang/llvm
ok, I now have a problem in the code generator.
Let's say I want to set a breakpoint somewhere in
clang/lib/CodeGen/CGExprScalar.cpp
What do I have to do in order to trigger breakpoints, see backtraces and so on?
--
Roland
----- Original Message -----
> From: "Eric Christopher" <echristo at apple.com>
> To: "Roland Leißa" <leissa at cs.uni-saarland.de>
2020 Aug 10
2
Orc JIT v2 breaks OpenMP in 11.x branch?
...gt; #39 0x00007fb7119d75bc in
> clang::CodeGen::CodeGenFunction::GenerateCode (this=0x7fffd4fdc7e0,
> GD=..., Fn=0x4699718, FnInfo=...)
> at
> /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1312
> #40 0x00007fb7119facdf in
> clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition
> (this=0x4b103a0, GD=..., GV=0x4699718)
> at
> /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4528
> #41 0x00007fb7119f3f73 in
> clang::CodeGen::CodeGenModule::EmitGlobalDefinition (this=0x4b103a0,
> GD=..., GV=0x4699718)
> at
> /u/geoff/llvmrepo...
2020 Aug 03
2
Orc JIT v2 breaks OpenMP in 11.x branch?
Greetings, Lang and other JITters,
Last week I moved our Orc v2-based app from top-of-tree to the new
11.x branch, and it no longer handles C++ code containing OpenMP
directives correctly.
More specifically, if I JIT compile a function containing OpenMP
parallel/for pragmas, using a release version of LLVM, the code
compiles and seems to work, but if I try to write the module's bitcode
to
2012 Feb 21
0
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
...itStmt(clang::Stmt const*) + 39
> 26 clang 0x00000000008f7193
> clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
> llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 995
> 27 clang 0x00000000007ca16b
>
> clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl)
> + 587
> 28 clang 0x00000000007dbe0e
> clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl)
> + 190
> 29 clang 0x00000000007dc3ed
> clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) + 1197
> 30 clang...
2013 Feb 08
2
[LLVMdev] assert when mixing static and non-static members with an external AST source
.../CodeGen/CodeGenFunction.cpp:489
#48 0x00007ffff4c6ce8d in clang::CodeGen::CodeGenFunction::GenerateCode (this=0x7fffffff9198, GD=..., Fn=0xd61b30, FnInfo=...)
at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CodeGenFunction.cpp:557
#49 0x00007ffff4c7ab86 in clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition (this=0xd63cf0, GD=...)
at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CodeGenModule.cpp:2115
#50 0x00007ffff4c77e17 in clang::CodeGen::CodeGenModule::EmitGlobalDefinition (this=0xd63cf0, GD=...)
at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CodeGenModule.cpp:1204
#51 0x000...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...fb7119d75bc in
>> clang::CodeGen::CodeGenFunction::GenerateCode (this=0x7fffd4fdc7e0,
>> GD=..., Fn=0x4699718, FnInfo=...)
>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1312
>> #40 0x00007fb7119facdf in
>> clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition
>> (this=0x4b103a0, GD=..., GV=0x4699718)
>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4528
>> #41 0x00007fb7119f3f73 in
>> clang::CodeGen::CodeGenModule::EmitGlobalDefinition (this=0x4b103a0,
>> GD=..., GV=0x4699718)
>> at /u/...
2016 Jan 22
2
Clang 3.8 fails with asan enabled
...on.cpp:752
#5 0x287bac4 in
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&)
/export/users/amitrokh/llvm-sanitizer/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:972:3
#6 0x28b6480 in
clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl,
llvm::GlobalValue*)
/export/users/amitrokh/llvm-sanitizer/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:2739:3
#7 0x28aac97 in
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl,
llvm::GlobalValue*)
/export/users/amitrokh/llvm-sanitizer/llvm/tools/clang/li...
2013 Feb 15
0
[LLVMdev] assert when mixing static and non-static members with an external AST source
.../CodeGen/CodeGenFunction.cpp:489
#48 0x00007ffff4c6ce8d in clang::CodeGen::CodeGenFunction::GenerateCode (this=0x7fffffff9198, GD=..., Fn=0xd61b30, FnInfo=...)
at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CodeGenFunction.cpp:557
#49 0x00007ffff4c7ab86 in clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition (this=0xd63cf0, GD=...)
at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CodeGenModule.cpp:2115
#50 0x00007ffff4c77e17 in clang::CodeGen::CodeGenModule::EmitGlobalDefinition (this=0xd63cf0, GD=...)
at /home/athirumurthi/git/lldb/tools/clang/lib/CodeGen/CodeGenModule.cpp:1204
#51 0x000...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...n::CodeGenFunction::GenerateCode (this=0x7fffd4fdc7e0,
> >>> GD=..., Fn=0x4699718, FnInfo=...)
> >>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1312
> >>> #40 0x00007fb7119facdf in
> >>> clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition
> >>> (this=0x4b103a0, GD=..., GV=0x4699718)
> >>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4528
> >>> #41 0x00007fb7119f3f73 in
> >>> clang::CodeGen::CodeGenModule::EmitGlobalDefinition (this=0x4b103a0,
> >>...
2019 Jul 29
4
ICE in release/9.x when using LLVM_ENABLE_MODULES
I ran into an LLVM/Clang crash when attempting to do the following:
1. Build Clang from the release/9.x branch source.
2. Use the Clang from (1) to build clangd on the release/9.x branch,
with LLVM_ENABLE_MODULES=On.
I wrote a script to reproduce the crash:
https://gist.github.com/modocache/ac366ca9673b93bb21e75d3e72162608
At the above URL, you'll find a script `repro.sh` that reproduces
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...(this=0x7fffd4fdc7e0,
> >>>>> GD=..., Fn=0x4699718, FnInfo=...)
> >>>>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1312
> >>>>> #40 0x00007fb7119facdf in
> >>>>> clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition
> >>>>> (this=0x4b103a0, GD=..., GV=0x4699718)
> >>>>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4528
> >>>>> #41 0x00007fb7119f3f73 in
> >>>>> clang::CodeGen::CodeGenModule::EmitGlobalDefiniti...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...4fdc7e0,
>>>>>>> GD=..., Fn=0x4699718, FnInfo=...)
>>>>>>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1312
>>>>>>> #40 0x00007fb7119facdf in
>>>>>>> clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition
>>>>>>> (this=0x4b103a0, GD=..., GV=0x4699718)
>>>>>>> at /u/geoff/llvmrepo/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4528
>>>>>>> #41 0x00007fb7119f3f73 in
>>>>>>> clang::CodeGen::CodeGenModule::EmitG...