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

LLVM: Set module flags through Builder instead of LLVM API bindings #21277

Merged
merged 4 commits into from
Sep 3, 2024

Conversation

antlilja
Copy link
Contributor

@antlilja antlilja commented Sep 1, 2024

Closes #21238

This PR also now sets the module flag behaviors to match what LLVM and clang does, before it set everything to warning

src/codegen/llvm.zig Outdated Show resolved Hide resolved
@andrewrk andrewrk merged commit 242d268 into ziglang:master Sep 3, 2024
10 checks passed
@antlilja antlilja deleted the llvm-module-flags branch September 3, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid LLVM API for setting a module's code model and PIC/PIE levels
3 participants