Skip to content

Conversation

@RyanGlScott
Copy link
Contributor

@RyanGlScott RyanGlScott commented Oct 31, 2025

This is not yet ready for review. I am opening this primarily to run the CI and produce binary artifacts.


This bumps the llvm-pretty, llvm-pretty-bc-parser, and crucible submodules in order to bring in several downstream changes that, in total, allow SAW to support LLVM versions up to 20. These include:

The only code changes that had to be made in SAW itself involve the LLVM backend's skeleton-related commands, which look up debug metadata to figure out which variables are declared. For the time being, I have opted not to make these commands look into LLVM's new debug records to find equivalent information, although it probably should. (TODO RGS: Open an issue about this.)

Fixes #2579.

This bumps the `llvm-pretty`, `llvm-pretty-bc-parser`, and `crucible`
submodules in order to bring in several downstream changes that, in total,
allow SAW to support LLVM versions up to 20. These include:

* `llvm-pretty`:
  GaloisInc/llvm-pretty#168,
  GaloisInc/llvm-pretty#169, and
  GaloisInc/llvm-pretty#170

* `llvm-pretty-bc-parser`:
  GaloisInc/llvm-pretty-bc-parser#316,
  GaloisInc/llvm-pretty-bc-parser#317, and
  GaloisInc/llvm-pretty-bc-parser#318

* `crucible`:
  GaloisInc/crucible#1600,
  GaloisInc/crucible#1602,
  GaloisInc/crucible#1603, and
  GaloisInc/crucible#1606

The only code changes that had to be made in SAW itself involve the LLVM
backend's skeleton-related commands, which look up debug metadata to figure out
which variables are declared. For the time being, I have opted not to make
these commands look into LLVM's new debug records to find equivalent
information, although it probably should. (TODO RGS: Open an issue about this.)
@RyanGlScott RyanGlScott self-assigned this Oct 31, 2025
@RyanGlScott RyanGlScott added the subsystem: crucible-llvm Issues related to LLVM bitcode verification with crucible-llvm label Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

subsystem: crucible-llvm Issues related to LLVM bitcode verification with crucible-llvm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parse LLVM bitcode from Apple clang version 17

2 participants