From: "Dave Korn" <dave.korn@artimi.com>
To: "'David Daney'" <ddaney@avtrex.com>
Cc: "'Tom Quarendon'" <tom@quarendon.net>, <gcc@gcc.gnu.org>,
"'gcc help'" <gcc-help@gcc.gnu.org>
Subject: RE: Exception handling tables for function generated on the fly
Date: Tue, 12 Aug 2008 18:41:00 -0000 [thread overview]
Message-ID: <000601c8fca6$55e8f400$9601a8c0@CAM.ARTIMI.COM> (raw)
In-Reply-To: <48A1CF11.2090608@avtrex.com>
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....
prev parent reply other threads:[~2008-08-12 18:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <48A1B059.1040400@quarendon.net>
2008-08-12 17:42 ` David Daney
2008-08-12 17:58 ` Dave Korn
2008-08-12 18:06 ` David Daney
2008-08-12 18:08 ` David Daney
2008-08-12 18:41 ` Dave Korn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000601c8fca6$55e8f400$9601a8c0@CAM.ARTIMI.COM' \
--to=dave.korn@artimi.com \
--cc=ddaney@avtrex.com \
--cc=gcc-help@gcc.gnu.org \
--cc=gcc@gcc.gnu.org \
--cc=tom@quarendon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).