RE: Exception handling tables for function generated on the fly

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

 



David Daney wrote on 12 August 2008 18:58:

>>   Yes.  The OP's question is "How do I generate .eh_frame data at runtime
>> for an arbitrary function that has no throws and no catches but may call
>> functions that throw". 
>> 
> 
> Which is why I recommended passing -funwind-tables, which does exactly
> that. 

  Passing it *to what*?  There is no compiler involved: from the OP:

> I want to magic up a function by writing (intel x86) instructions
> into memory that does the same as if I'd done

  You appear to keep missing the "JIT" aspect of this question.  JIT is not
usually done by writing a C file and invoking the compiler using system()
TTBOMK.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


[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