This matches ld64's behavior
Details
Details
- Reviewers
smeenai - Group Reviewers
Restricted Project - Commits
- rG3e7a86e3664a: [lld-macho] Fall back to raw path if we don't find anything under syslibroot
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Can you also add a test for the standard paths not being searched without a syslibroot prefix? As in, if you pass -syslibroot and there's e.g. no /usr/lib under it, we shouldn't add the standard /usr/lib to the search path.
lld/test/MachO/syslibroot.test | ||
---|---|---|
3–6 |
This test covers that already :) |
lld/test/MachO/syslibroot.test | ||
---|---|---|
3–6 | Indeed it does! Ignore me :) |
This test covers that already :)