Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add opaque pointers #468

Merged
merged 4 commits into from
Apr 13, 2024
Merged

Commits on Apr 11, 2024

  1. Add opaque pointers

    - Add a `ptr_type` method to `Context` for LLVM >= 15.0 to get an opaque
      pointer type.
    - Deprecate the use of `ptr_type` on `*Type`.
    - Add a `is_opaque` method to `PointerType` to check whether the pointer
      is opaque (which is always true unless opaque-by-default is disabled).
    - Change the tests to use the new `ptr_type` method on `Context`.
    Xavier Lambein committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    c517f92 View commit details
    Browse the repository at this point in the history
  2. Add get_value_type to GlobalValue

    Xavier Lambein committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    3bacdd6 View commit details
    Browse the repository at this point in the history
  3. Fix LLVMGlobalGetValueType not available in LLVM <= 7

    Xavier Lambein committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    a903e0a View commit details
    Browse the repository at this point in the history
  4. Add support for LLVM 18

    Xavier Lambein committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    cb4cfd2 View commit details
    Browse the repository at this point in the history