Details
Details
- Reviewers
mcgrathr phosek - Commits
- rG5dfc8ebee5d6: [Driver][Fuchsia] Add default linker flags
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Driver/ToolChains/Fuchsia.cpp | ||
---|---|---|
58 | There's a test for lld right below, so you could also just put these in an else block of that. There are only test cases that use -fuse-ld=lld explicitly, which seems odd. It's not so odd that we haven't bothered to test the non-lld behavior before (though ideally we should). But it's a bit odd that we pass it explicitly when it's the default. |
Comment Actions
LGTM
clang/lib/Driver/ToolChains/Fuchsia.cpp | ||
---|---|---|
58 | I'd prefer passing these in the else block but either way is fine with me. |
Comment Actions
This breaks tests on non-linux:
http://45.33.8.238/macm1/45619/step_7.txt
http://45.33.8.238/win/67193/step_7.txt
Please take a look and revert for now if it takes a while to fix.
There's a test for lld right below, so you could also just put these in an else block of that.
But I'll leave it to Petr to say which he prefers.
There are only test cases that use -fuse-ld=lld explicitly, which seems odd. It's not so odd that we haven't bothered to test the non-lld behavior before (though ideally we should). But it's a bit odd that we pass it explicitly when it's the default.