public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
From: akrl <akrl@sdf.org>
To: "Marc Nieper-Wißkirchen" <marc@nieper-wisskirchen.de>
Cc: dmalcolm@redhat.com, basile@starynkevitch.net, jit@gcc.gnu.org
Subject: Re: about header file parsing
Date: Tue, 01 Jan 2019 00:00:00 -0000	[thread overview]
Message-ID: <xjfwon1mxfb.fsf@sdf.org> (raw)
In-Reply-To: <CAEYrNrTVDXUAJ9WxUw96DJVe+7yoCtGC6_6DAuNe1YyTotZc_A@mail.gmail.com> (message from Marc =?utf-8?Q?Nieper-Wi=C3=9Fkirchen?= on Fri, 18 Jan 2019 21:30:53 +0100)

Marc Nieper-Wißkirchen <marc@nieper-wisskirchen.de> writes:

> Am Fr., 18. Jan. 2019 um 21:10 Uhr schrieb akrl <akrl@sdf.org>:
>
> [...]
>
>> Okay I've submitted the patch for exposing gcc_jit_context_add_driver_option.
>
> That's great!
>
> Have you experimented with your patch and checked whether linking
> object statically with link-time optimization to the
> libgccjit-generated code works?

Seams to work for me.
I've verified I can inline a function defined in an external obj file
test.o.

This is what I had into the jitter code as conf:

gcc_jit_context_set_int_option(ctxt, GCC_JIT_INT_OPTION_OPTIMIZATION_LEVEL, 3);
gcc_jit_context_add_command_line_option(ctxt, "-flto");

gcc_jit_context_add_driver_option(ctxt, "-fuse-linker-plugin");
gcc_jit_context_add_driver_option(ctxt, "-flto");
gcc_jit_context_add_driver_option(ctxt, "test.o");

>> If Dave's agree on the idea of the modification I'll have a following
>> patch for exposing invoke_embedded_driver and invoke_external_driver
>> after the review process of the first is done.
>
> Very cool!
>
> [...]
>
> Thanks,
>
> Marc
>

Very welcome :)

Bests
   Andrea

-- 
akrl@sdf.org

  reply	other threads:[~2019-01-18 22:08 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-01  0:00 akrl
2019-01-01  0:00 ` Basile Starynkevitch
2019-01-01  0:00   ` Marc Nieper-Wißkirchen
2019-01-01  0:00   ` Marc Nieper-Wißkirchen
2019-01-01  0:00     ` Marc Nieper-Wißkirchen
2019-01-01  0:00       ` David Malcolm
2019-01-01  0:00         ` Marc Nieper-Wißkirchen
2019-01-01  0:00           ` akrl
2019-01-01  0:00             ` David Malcolm
2019-01-01  0:00               ` akrl
2019-01-01  0:00                 ` Marc Nieper-Wißkirchen
2019-01-01  0:00                   ` akrl
2019-01-01  0:00                     ` Marc Nieper-Wißkirchen
2019-01-01  0:00                       ` akrl
2019-01-01  0:00                         ` Marc Nieper-Wißkirchen
2019-01-01  0:00                           ` akrl [this message]
2019-01-01  0:00           ` David Malcolm
2019-01-01  0:00 ` David Malcolm
2019-01-01  0:00   ` akrl
2019-01-01  0:00     ` David Malcolm
2019-01-01  0:00       ` akrl
2019-01-01  0:00         ` David Malcolm
2019-01-01  0:00     ` Basile Starynkevitch
2019-01-01  0:00       ` akrl
2019-01-01  0:00         ` Basile Starynkevitch
2019-01-01  0:00           ` David Malcolm
2019-01-01  0:00             ` Marc Nieper-Wißkirchen
2019-01-01  0:00               ` Basile Starynkevitch
2019-01-01  0:00               ` akrl
2019-01-01  0:00                 ` Marc Nieper-Wißkirchen
2019-01-01  0:00       ` David Malcolm
     [not found] <df8944b7-1fbe-b56f-cc48-ab926d0cb5ad@starynkevitch.net>
2019-01-01  0:00 ` Basile Starynkevitch
2019-01-01  0:00   ` Marc Nieper-Wißkirchen

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=xjfwon1mxfb.fsf@sdf.org \
    --to=akrl@sdf.org \
    --cc=basile@starynkevitch.net \
    --cc=dmalcolm@redhat.com \
    --cc=jit@gcc.gnu.org \
    --cc=marc@nieper-wisskirchen.de \
    /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).