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

DISubprogram combined several fields into a single spFlags field in LLVM 8.0 #106

Open
RyanGlScott opened this issue Mar 24, 2023 · 1 comment
Labels

Comments

@RyanGlScott
Copy link
Collaborator

RyanGlScott commented Mar 24, 2023

As of LLVM 8.0, the isLocal, isDefinition, virtuality, and isOptimized fields of DISubprogram have been combined into a single spFlags field. See llvm/llvm-project@adcdc1b. For instance, what used to be displayed as:

!DISubprogram(..., isDefinition: True, isOptimized: True, ...)

Is now displayed as:

!DISubprogram(..., spFlags: DISPFlagDefinition | DISPFlagOptimized, ...)
@RyanGlScott
Copy link
Collaborator Author

At first, I thought that this change in syntax was causing llvm-as to reject the old style. But I was mistaken in that belief: the root cause was actually a separate issue in GaloisInc/llvm-pretty-bc-parser#211. As such, this issue isn't as high of a priority as I originally believed it to be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant