Skip to content

Remove redundant llvm args from link_lld. NFC#27409

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:remove_redundant_llvm_args
Jul 23, 2026
Merged

Remove redundant llvm args from link_lld. NFC#27409
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:remove_redundant_llvm_args

Conversation

@sbc100

@sbc100 sbc100 commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

These flags are already included in llvm_backend_args just above.

It looks like this duplication was added by accident in #23469

These flags are already included in `llvm_backend_args` just above.
@sbc100
sbc100 requested a review from aheejin July 23, 2026 17:54
@aheejin

aheejin commented Jul 23, 2026

Copy link
Copy Markdown
Member

Does it work for LTO without this?

@sbc100

sbc100 commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator Author

Does it work for LTO without this?

As far as I can tell these flags are simply added twice, so nothing is changing here..

@aheejin

aheejin commented Jul 23, 2026

Copy link
Copy Markdown
Member

Does this depend on #27407?

@sbc100

sbc100 commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator Author

Does this depend on #27407?

I don't think so no. This is just pure duplication of flags. The code adds all the llvm_backend_args then it adds these flags that were already part of llvm_backend_args.

@sbc100
sbc100 merged commit 3e9a4c0 into emscripten-core:main Jul 23, 2026
40 checks passed
@sbc100
sbc100 deleted the remove_redundant_llvm_args branch July 23, 2026 20: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.

2 participants