-
Notifications
You must be signed in to change notification settings - Fork 7
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
LLVM 14.0: Support btf_tag
-related annotations in metadata types
#188
Labels
Comments
RyanGlScott
added a commit
to GaloisInc/llvm-pretty
that referenced
this issue
Apr 5, 2023
This paves the way for an eventual fix for GaloisInc/llvm-pretty-bc-parser#188.
RyanGlScott
added a commit
that referenced
this issue
Apr 5, 2023
Merged
RyanGlScott
added a commit
to GaloisInc/llvm-pretty
that referenced
this issue
Apr 10, 2023
This paves the way for an eventual fix for GaloisInc/llvm-pretty-bc-parser#188.
RyanGlScott
added a commit
to GaloisInc/llvm-pretty
that referenced
this issue
Apr 10, 2023
This paves the way for an eventual fix for GaloisInc/llvm-pretty-bc-parser#188.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LLVM 14.0 adds an additional
annotations
field to the following pieces of metadata in service of supporting the newbtf_tag
attribute:METADATA_DERIVED_TYPE
: llvm/llvm-project@430e223METADATA_COMPOSITE_TYPE
: llvm/llvm-project@0b32dcaMETADATA_SUBPROGRAM
: llvm/llvm-project@d383df3METADATA_GLOBAL_VAR
: llvm/llvm-project@30c2884METADATA_LOCAL_VAR
: llvm/llvm-project@1bebc31As these are pretty common, most programs compiled with
-g
using Clang 14.0.0 will contain them. Here is one such example:When compiled with
clang test.c -c -emit-llvm -g
with Clang 14.0.0,llvm-pretty-bc-parser
will be unable to handle it:The text was updated successfully, but these errors were encountered: