[PATCH] D113541: [lld-macho] Fix trailing slash in oso_prefix
Keith Smiley via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 9 21:39:28 PST 2021
keith added inline comments.
================
Comment at: lld/MachO/Driver.cpp:1162
expanded += sep;
+ else if (config->osoPrefix.endswith(sep) && !expanded.endswith(sep))
+ expanded += sep;
----------------
Maybe the second half of the conditional here isn't necessary?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113541/new/
https://reviews.llvm.org/D113541
More information about the llvm-commits
mailing list