[llvm-dev] LLVM's Inliner broke the code
Zhang via llvm-dev
llvm-dev at lists.llvm.org
Sun Aug 12 19:47:58 PDT 2018
Hi,
The LLVM tools didn't crash, but the inlined code crashed at runtime. I later narrowed down that issue to one function, after I added no inline to that function in my transform pass, everything works normal again. I guess that's a issue with the inliner
Zhang
------------------ Original ------------------
From: "Kevin Choi"<code.kchoi at gmail.com>;
Date: Mon, Aug 13, 2018 10:04 AM
To: "Zhang"<admin at mayuyu.io>;
Subject: Re: [llvm-dev] LLVM's Inliner broke the code
Hi,
you might want to output --verbose to isolate which command has the crash and then attach debugger like lldb/gdb to the command to debug it. Sounds like it might be crashing in opt.
ie. gdb -tui --args <command>
Regards,
Kevin
On 7/27/2018 5:18 AM, Zhang via llvm-dev wrote:
Hi:
I was using various Inliners on a custom built IR Function however the code simply results in a NULL Pointer Access crash.
How do I debug this issue? The IR code runs perfectly fine without the Inliner. The Inlined functions contains a lot of GEP/Load and stores
Zhang
_______________________________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180813/ac94da87/attachment.html>
More information about the llvm-dev
mailing list