Skip to content

Don’t override user options with noDiscardValueNamesArg in LLVM IR view#8252

Merged
OfekShilon merged 1 commit intomainfrom
ir-view-dont-override-user-options
Nov 8, 2025
Merged

Don’t override user options with noDiscardValueNamesArg in LLVM IR view#8252
OfekShilon merged 1 commit intomainfrom
ir-view-dont-override-user-options

Conversation

@narpfel
Copy link
Member

@narpfel narpfel commented Nov 5, 2025

Resolves #8203.

This changes the LLVM IR view to pass -fno-discard-value-names or -Z fewer-names=no first instead of last so that the user can explicitly pass -fdiscard-value-names or -Z fewer-names=yes via command line arguments.

@OfekShilon
Copy link
Member

Thank you for this! merging now.

@OfekShilon OfekShilon merged commit cd9e56e into main Nov 8, 2025
19 checks passed
@OfekShilon OfekShilon deleted the ir-view-dont-override-user-options branch November 8, 2025 13:15
@partouf
Copy link
Member

partouf commented Nov 13, 2025

This is now live

@partouf partouf added the live This is now live label Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

live This is now live

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Rust "LLVM IR" view seems to ignore (some?) compiler flags

3 participants