[PATCH] D116843: [Driver][Gnu] -r: imply -nostdlib like GCC

2022-01-13 Thread Fangrui Song via Phabricator via cfe-commits
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

[PATCH] D116843: [Driver][Gnu] -r: imply -nostdlib like GCC

2022-01-13 Thread Petr Hosek via Phabricator via cfe-commits
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

[PATCH] D116843: [Driver][Gnu] -r: imply -nostdlib like GCC

2022-01-12 Thread Sam James via Phabricator via cfe-commits
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

[PATCH] D116843: [Driver][Gnu] -r: imply -nostdlib like GCC

2022-01-07 Thread Fangrui Song via Phabricator via cfe-commits
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