Useful for testing driver specific behavior that relies on an lld built in tree.
Also adds a lit substitution for build/bin
Paths
| Differential D121725
[clang][test] Add using-lld feature variable AbandonedPublic Authored by abrachet on Mar 15 2022, 11:28 AM.
Details
Diff Detail Event Timelineabrachet added a child revision: D120175: [Driver] Re-run lld with --reproduce when it crashes.Mar 15 2022, 11:29 AM Comment Actions I think it actually becomes a bit unfortunate to add quite a bit of infrastructure to test the diagnostic change. Comment Actions
FWIW, After D120201 lands I plan to add a way to cause these reproducers on errors and not just crashes. That might be enough testing that we don't need to explicitly test the crashing scenario. Comment Actions Seems reasonable having an integration with LLD, but maybe others would like to chime in?
abrachet removed a child revision: D120175: [Driver] Re-run lld with --reproduce when it crashes.Jun 10 2022, 8:43 AM
Revision Contents
Diff 415516 clang/test/CMakeLists.txt
clang/test/Driver/clang-with-lld.c
clang/test/lit.cfg.py
clang/test/lit.site.cfg.py.in
|
Any reason why its not plain 'lld'? REQUIRES: lld seems more natural.