Displaying 3 results from an estimated 3 matches for "setdiagnostichandl".
Did you mean:
setdiagnostichandler
2018 May 29
0
Getting stack size of compiled functions from LLVM
...t; from the MachineFunction corresponding to a Function, in order to
> issue a warning if the stack size is too large.
> However I don't see a way to access this information from my host C++
> program.
You can retrieve those warnings from your host program; if you call
LLVMContext::setDiagnosticHandler, the DiagnosticInfoStackSize gets
passed to your code instead of getting dumped to stderr.
>
> One approach I have investigated is writing a MachineFunctionPass that
> could access the MachineFunctions and hence the stack size. However I
> have not been able to get my MachineFunct...
2018 May 29
2
Getting stack size of compiled functions from LLVM
Hi all,
I'm trying to get the amount of stack memory used by the functions I am
JIT compiling with LLVM.
I have a host C++ program, and I want to be able to access the stack
size from the host C++ program.
I see in PrologEpilogInserter.cpp that the computed stack size is read
from the MachineFunction corresponding to a Function, in order to issue
a warning if the stack size is too large.
2017 Aug 22
5
[RFC] mir-canon: A new tool for canonicalizing MIR for cleaner diffing.
Patch for review.
On Mon, Aug 21, 2017 at 11:45 PM Puyan Lotfi <puyan.lotfi.llvm at gmail.com>
wrote:
> Ping.
>
> Still working on preparing code for review. Will have a patch for review
> ready in the coming days.
>
> PL
>
> On Tue, Aug 15, 2017 at 12:06 PM Puyan Lotfi <puyan.lotfi.llvm at gmail.com>
> wrote:
>
>> Hi,
>>
>>
>>