-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Check if LLD is built when checking if lto_supported #92752
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
Conversation
Otherwise, older copies of LLD may not understand the latest bitcode versions (for example, if we increase `ModuleSummaryIndex::BitCodeSummaryVersion`)
Otherwise, older copies of LLD may not understand the latest bitcode versions (for example, if we increase `ModuleSummaryIndex::BitCodeSummaryVersion`)
@vitalybuka or @MaskRay would you mind reviewing, or is there anyone else you suggest? |
The test has a run with `flto` so makes sense to require `lto` in some way. Currently it relies on requires `lld-available` to imply that `lto` is supported, but it would help to separate the two notions in that `lto` should require up to date components while `lld-available` may not: llvm#92752
The test has a run with `flto` so makes sense to require `lto` in some way. Currently it relies on requires `lld-available` to imply that `lto` is supported, but it would help to separate the two notions in that `lto` should require up to date components while `lld-available` may not: llvm#92752
Perhaps we should
|
I think that traces back to 2344a72 where there is an "OR" ( @vitalybuka do you have additional context here or thoughts for this too? #90692 itself is not a huge thing, but I think it's worth figuring this out so that the next person who increases |
Without 2344a72 some tests will not be executed as LLD will not be detected. Also use_lld probably can be used with system LLD, but compiler-rt by default is built with just build clang. |
Thanks for the info Vitaly! Do you remember any of the example tests that were not being executed but should have been and bots (or configuration) to double check? Did the tests only want the freshly built LLD, and somehow the I'm not sure whether
==== Otherwise, is there a strong reason to have |
Hi, just wanted to check if you have another other thoughts on the earlier questions, or on how to proceed here? Thanks! |
Unfortunately there is not much to add. These are bots maintained by my team: https://lab.llvm.org/buildbot/#/waterfall?tags=sanitizer All steps print number of executed test. On some of them 2344a72 enabled additional tests. It should be OK to proceed with:
|
Thanks Vitaly! Ok I can check the number of test before and after and post them. Would you mind helping land this if it's ok? I don't yet have commit access. |
Sure. |
Thanks. This makes the feature |
Thanks! overall they look same except one case
|
Thanks for detailed comparison! |
Otherwise, older copies of LLD may not understand the latest bitcode
versions (for example, if we increase
ModuleSummaryIndex::BitCodeSummaryVersion
)Related to #90692 (comment)