RFR: 7903923: Derive C_* layouts directly from the Linker [v3]

Nizar Benalla nbenalla at openjdk.org
Mon Jan 13 10:42:11 UTC 2025


> Depending on the platform, different `C_*`  correspond to different `JAVA_*` types. We can get those values directly from the linker.
> 
> This patch can allows us to have a common class for different platforms.
> 
> Please review, and thanks in advance!

Nizar Benalla has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - use the canonical layout "long long" for C_LONG_LONG
 - Merge remote-tracking branch 'upstream/master' into derive-C-layours-from-linker-p
 - Fix the C_LONG layout in windows
 - derive "C" types directly from the linker

-------------

Changes:
  - all: https://git.openjdk.org/jextract/pull/269/files
  - new: https://git.openjdk.org/jextract/pull/269/files/ed192bbf..461d714f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jextract&pr=269&range=02
 - incr: https://webrevs.openjdk.org/?repo=jextract&pr=269&range=01-02

  Stats: 85 lines in 10 files changed: 37 ins; 6 del; 42 mod
  Patch: https://git.openjdk.org/jextract/pull/269.diff
  Fetch: git fetch https://git.openjdk.org/jextract.git pull/269/head:pull/269

PR: https://git.openjdk.org/jextract/pull/269


More information about the jextract-dev mailing list