How to create gimple_build_call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I would like to ask you for your help.

We are creating a plugin, which is inserting some statements into compiled
code. Plugin is working on GIMPLE representation. Under some conditions we
need to stop execution of runnig code.

We want to insert builin abort() function.
It should be done with gimple_build_call (tree fn, unsigned nargs, ...)

But we don't know how to create tree fn referencing abort() function.

Could you help us, please?

Or do you have some other or better idea how to stop runnig code? We were
thinking about error trapping/throwing, but we couldn't find anything about
this in documentation.

Thanks in advance.

Mato



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux