Displaying 9 results from an estimated 9 matches for "catchinfofound".
2009 Apr 21
6
[LLVMdev] ARM and lowerinvoke
...but am having some
troubles with it. When I run a simple testcase (attached) through llc
and specify -enable-correct-eh-support, llc asserts on me. It appears
there's been some bitrot somewhere. SelectDAGBuild and
SelectionDAGISel cooperate to track landing pads with CatchInfoLost
and CatchInfoFound and make sure they're all handled. However,
lowerinvoke throws a wrench into that by getting rid of the explicit
invokes, so SelectionDAGISel never identifies any landing pads, and
then complains with:
Assertion failed: (FuncInfo->CatchInfoFound.size() == FuncInfo-
>CatchInfoLost....
2009 Apr 22
0
[LLVMdev] ARM and lowerinvoke
...troubles with it. When I run a simple testcase (attached) through llc
> and specify -enable-correct-eh-support, llc asserts on me. It appears
> there's been some bitrot somewhere. SelectDAGBuild and
> SelectionDAGISel cooperate to track landing pads with CatchInfoLost
> and CatchInfoFound and make sure they're all handled. However,
> lowerinvoke throws a wrench into that by getting rid of the explicit
> invokes, so SelectionDAGISel never identifies any landing pads, and
> then complains with:
> Assertion failed: (FuncInfo->CatchInfoFound.size() == FuncInfo-...
2011 May 17
2
[LLVMdev] "Not all catch info was assigned to a landing pad!"' failed
Hi,
My transformation phase inserts an if-the-else construct into a BB.
If that BB contains llvm.eh.exception, I get an Assertion at some later
point:
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp:212:
void llvm::FunctionLoweringInfo::clear(): Assertion `CatchInfoFound.size()
== CatchInfoLost.size() && "Not all catch info was assigned to a landing
pad!"' failed.
Is there some rule that forbids splitting BBs with EH?
Or maybe something special needs to be done when splitting such BB?
The code is here:
http://code.google.com/p/address-sanit...
2009 Apr 21
0
[LLVMdev] ARM and lowerinvoke
...troubles with it. When I run a simple testcase (attached) through
> llc and specify -enable-correct-eh-support, llc asserts on me. It
> appears there's been some bitrot somewhere. SelectDAGBuild and
> SelectionDAGISel cooperate to track landing pads with CatchInfoLost
> and CatchInfoFound and make sure they're all handled.
Hi Jim,
One thing to know about lowerinvoke is that it does not conform at all
to a native ABI. If you need to interoperate with existing code, you
can't use it.
-Chris
[LLVMdev] ExtractBasicBlock() on block that ends with invoke or unreachable triggers assert() in llc
2010 Jun 05
1
[LLVMdev] ExtractBasicBlock() on block that ends with invoke or unreachable triggers assert() in llc
Here it is:
llc: SelectionDAGISel.cpp:358: virtual bool
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&):
Assertion `FuncInfo->CatchInfoFound.size() ==
FuncInfo->CatchInfoLost.size() && "Not all catch info was assigned to
a landing pad!"' failed.
0 libLLVM-2.7.so 0x0140e2c8
Stack dump:
0. Program arguments: llc -O0 bullet.linked.bc.opt
1. Running pass 'X86 DAG->DAG Instruction Selection' on function
&...
2008 Aug 04
1
[LLVMdev] Assertion Failure: Not all catch info was assigned to a landing pad
...39;t understand.
After I insert a call to an externally defined function into an invoked
function, llc spits out the following assertion failure when I compile the
bytecode:
llc: SelectionDAGISel.cpp:4912: virtual bool
llvm::SelectionDAGISel::runOnFunction(llvm::Function&): Assertion
`FuncInfo.CatchInfoFound.size() == FuncInfo.CatchInfoLost.size() && "Not all
catch info was assigned to a landing pad!"' failed.
I looked at the SelectionDAGISel.cpp code but I have no idea what the
problem is or how I can fix it. I've tried setting different parameter
attributes to no avail. M...
2011 May 17
0
[LLVMdev] "Not all catch info was assigned to a landing pad!"' failed
Hi Kostya,
> My transformation phase inserts an if-the-else construct into a BB.
> If that BB contains llvm.eh.exception, I get an Assertion at some later point:
>
> lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp:212:
> void llvm::FunctionLoweringInfo::clear(): Assertion `CatchInfoFound.size() ==
> CatchInfoLost.size() && "Not all catch info was assigned to a landing pad!"'
> failed.
>
> Is there some rule that forbids splitting BBs with EH?
> Or maybe something special needs to be done when splitting such BB?
sadly the code generators can on...
2010 Jun 10
4
[LLVMdev] Assertion failure in llc when using exception handling
Hi,
I'm trying to compile an llvm program which makes use of exception handling.
While compiling the code with llc i get the following assertion failure
llc: FunctionLoweringInfo.cpp:163: void llvm::FunctionLoweringInfo::clear():
Assertion `CatchInfoFound.size() == CatchInfoLost.size() && "Not all catch
info was assigned to a landing pad!"' failed.
0 llc 0x0000000000d5d23f
1 llc 0x0000000000d5f026
2 libpthread.so.0 0x00007f47688d38f0
3 libc.so.6 0x00007f4767bc3a75 gsignal + 53
4 libc.so.6...
2015 Aug 03
8
[LLVMdev] Ideas for making llvm-config --cxxflags more useful
> On Aug 3, 2015, at 10:24 AM, Chris Bieneman <beanz at apple.com> wrote:
>
> Hey Tom,
>
> I’m not a regular user of llvm-config, but this sounds completely right to me, and it would be a significant improvement over what we have now.
>
> The only question I want to raise is, what about NDEBUG? There are headers that conditionalize on NDEBUG, which could lead to ABI