Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8277070

Regularize logic for cursor -> position conversion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-panama
    • tools

      The TreeMaker class has a nice helper function to extract a Position from a clang cursor. This logic checks for NPEs at various steps, and returns a default NO_POSITION object if an error occurs.

      Unfortunately, the jextract code is not using this helper function uniformly. This causes issues when running jextract against clang-13 (it appears that the position attached to the internal va_list struct is no longer there).

            mcimadamore Maurizio Cimadamore
            mcimadamore Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: