Displaying 15 results from an estimated 15 matches for "cgfunctioninfo".
2012 Oct 08
1
[LLVMdev] Fwd: Multiply i8 operands promotes to i32
...ype functions, they
should basically look like this:
class MSP430ABIInfo : public ABIInfo
{
public:
MSP430ABIInfo (CodeGenTypes &CGT) : ABIInfo(CGT) {}
ABIArgInfo classifyReturnType(QualType RetTy) const;
ABIArgInfo classifyArgumentType(QualType RetTy) const;
virtual void computeInfo(CGFunctionInfo &FI) const {
FI.getReturnInfo() = classifyReturnType(FI.getReturnType());
for (CGFunctionInfo::arg_iterator it = FI.arg_begin(), ie =
FI.arg_end();
it != ie; ++it)
it->info = classifyArgumentType(it->type);
}
virtual llvm::Value *EmitVAArg(llvm::Value *VAListAd...
2012 Dec 19
2
[LLVMdev] Function inline causes crash in clang for .ast to .s
...it-ast -o inline-test.ast*
*>clang inline-test.ast -std=c99 -fgnu89-inline -S -o inline-test.s*
clang-3.2: $HOME/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:342: void
clang::CodeGen::CodeGenFunction::*StartFunction*(clang::GlobalDecl,
clang::QualType, llvm::Function*, const clang::CodeGen::CGFunctionInfo&,
const clang::CodeGen::FunctionArgList&, clang::SourceLocation):
Assertion `*CurFn->isDeclaration()
&& "Function already has body?"*' failed.
>From crash message it seems Codegen is already emitted for inline function.
Crash occurs only if tried to generate as...
2014 Oct 18
3
[LLVMdev] Performance regression on ARM
Hi Chandler,
That's embarrassing how weird this part of clang is. I have a provisional
patch which fixes the problem but underlines clang's problems. I will
submit it tonight for comments.
суббота, 18 октября 2014 г. пользователь Chandler Carruth написал:
>
> On Fri, Oct 17, 2014 at 7:51 AM, Anton Korobeynikov <
> anton at korobeynikov.info
>
2014 Jan 20
2
[LLVMdev] Methods on addrspace pointers
...lvm::IRBuilder<true, llvm::ConstantFolder, llvm::IRBuilderDefaultInserter<true> >::CreateCast(llvm::Instruction::CastOps, llvm::Value*, llvm::Type*, llvm::Twine const&) + 76
> 8 clang-3.4 0x0000000103bbeac3 clang::CodeGen::CodeGenFunction::EmitCall(clang::CodeGen::CGFunctionInfo const&, llvm::Value*, clang::CodeGen::ReturnValueSlot, clang::CodeGen::CallArgList const&, clang::Decl const*, llvm::Instruction**) + 3075
> 9 clang-3.4 0x0000000103c11c02 clang::CodeGen::CodeGenFunction::EmitCXXMemberCall(clang::CXXMethodDecl const*, clang::SourceLocatio...
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
2012 Dec 28
0
[LLVMdev] Function inline causes crash in clang for .ast to .s
...*
> *>clang inline-test.ast -std=c99 -fgnu89-inline -S -o inline-test.s*
>
> clang-3.2: $HOME/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:342:
> void clang::CodeGen::CodeGenFunction::*StartFunction*(clang::GlobalDecl,
> clang::QualType, llvm::Function*, const clang::CodeGen::CGFunctionInfo&,
> const clang::CodeGen::FunctionArgList&, clang::SourceLocation): Assertion `
> *CurFn->isDeclaration() && "Function already has body?"*' failed.
>
> From crash message it seems Codegen is already emitted for inline function.
>
> Crash occurs onl...
2016 Jan 22
2
Clang 3.8 fails with asan enabled
...deGen/CodeGenFunction.h:1491
#3 0x2876154 in getJumpDestInCurrentScope
/export/users/amitrokh/llvm-sanitizer/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h:685
#4 0x2876154 in
clang::CodeGen::CodeGenFunction::StartFunction(clang::GlobalDecl,
clang::QualType, llvm::Function*, clang::CodeGen::CGFunctionInfo const&,
clang::CodeGen::FunctionArgList const&, clang::SourceLocation,
clang::SourceLocation)
/export/users/amitrokh/llvm-sanitizer/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:752
#5 0x287bac4 in
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clan...
2015 Jan 14
2
[LLVMdev] Crash on invalid during LLVMContext destruction MDNode::dropAllReferences
...10d517b0d in
> clang::CodeGen::CodeGenFunction::EmitParmDecl(clang::VarDecl const&,
> llvm::Value*, bool, unsigned int)
> (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x1025f6b0d)
> #6 0x10d4a6a1f in
> clang::CodeGen::CodeGenFunction::EmitFunctionProlog(clang::CodeGen::CGFunctionInfo
> const&, llvm::Function*, clang::CodeGen::FunctionArgList const&)
> (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x102585a1f)
> #7 0x10d6968cc in
> clang::CodeGen::CodeGenFunction::StartFunction(clang::GlobalDecl,
> clang::QualType, llvm::Function*, clang::CodeGen...
2012 Apr 23
4
[LLVMdev] gdb + clang/llvm
...mt(clang::Stmt const*) + 75
20 clang 0x0000000000c19808 clang::CodeGen::CodeGenFunction::EmitFunctionBody(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...
2012 Apr 23
0
[LLVMdev] gdb + clang/llvm
...Stmt const*) + 75
> 20 clang 0x0000000000c19808 clang::CodeGen::CodeGenFunction::EmitFunctionBody(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 0x0...
2012 Apr 23
1
[LLVMdev] gdb + clang/llvm
...x0000000000c19808
> > clang::CodeGen::CodeGenFunction::EmitFunctionBody(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::GlobalD...
2012 Feb 21
5
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
...:CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) +
271
25 clang 0x00000000008e66a7
clang::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...
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>
2012 Feb 21
0
[LLVMdev] buildbot failure in LLVM on clang-x86_64-debian-fnt
...mt(clang::Stmt const*) +
> 271
> 25 clang 0x00000000008e66a7
> clang::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...