This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG64da6eb06570: [Driver][Gnu] -r: imply -nostdlib like GCC
(authored by MaskRay).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
h
phosek accepted this revision.
phosek added a comment.
LGTM
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116843/new/
https://reviews.llvm.org/D116843
___
cfe-commits mailing list
cfe-commits@lists.llvm.
thesamesam accepted this revision.
thesamesam added a comment.
This revision is now accepted and ready to land.
Looks good, although the documentation for `-r` and other driver options could
be better (not your fault though).
From https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html:
-r
MaskRay created this revision.
MaskRay added reviewers: thesamesam, phosek.
MaskRay requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
See `gcc -dumpspecs` that -r essentially implies -nostdlib and suppresses
default -l* and crt*.o. The behavi