llvm-project/clang/lib
Fangrui Song 64da6eb065 [Driver][Gnu] -r: imply -nostdlib like GCC
See `gcc -dumpspecs` that -r essentially implies -nostdlib and suppresses
default -l* and crt*.o. The behavior makes sense because otherwise there will be
assuredly conflicting definitions when the relocatable output is linked into the
final executable/shared object.

Reviewed By: thesamesam, phosek

Differential Revision: https://reviews.llvm.org/D116843
2022-01-13 11:25:23 -08:00
..
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
AST [clang] Fix function pointer address space 2022-01-13 08:06:19 -08:00
ASTMatchers ASTMatchers: Avoid using SmallVector::set_size() 2022-01-11 17:01:46 -08:00
Analysis [clang][dataflow] Add transfer functions for initializers 2022-01-12 21:51:39 +00:00
Basic [clang] Fix function pointer address space 2022-01-13 08:06:19 -08:00
CodeGen [clang] Fix function pointer address space 2022-01-13 08:06:19 -08:00
CrossTU Revert "[analyzer][ctu] Fix wrong 'multiple definitions' errors caused by space characters in lookup names when parsing the ctu index file" 2021-12-16 20:46:51 -05:00
DirectoryWatcher [clang] [DirectoryWatcher] Remove leading \\?\ from GetFinalPathNameByHandleW 2021-11-08 22:21:30 +02:00
Driver [Driver][Gnu] -r: imply -nostdlib like GCC 2022-01-13 11:25:23 -08:00
Edit [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
Format [clang-format] clang-format eats space in front of attributes for operator delete 2022-01-13 07:57:45 +00:00
Frontend Support the *_WIDTH macros in limits.h and stdint.h 2022-01-13 11:46:34 -05:00
FrontendTool [clang] Add plugin ActionType to run command line plugin before main action 2021-10-20 08:58:20 -07:00
Headers Support the *_WIDTH macros in limits.h and stdint.h 2022-01-13 11:46:34 -05:00
Index [clang] Visit enum base specifiers in libIndex 2021-10-25 13:16:14 +02:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Interpreter [clang] Remove unused forward declarations (NFC) 2022-01-08 11:56:40 -08:00
Lex Revert "[clang][lex] Keep references to `DirectoryLookup` objects up-to-date" 2022-01-13 16:29:44 +01:00
Parse [CodeCompletion] (mostly) fix completion in incomplete C++ ctor initializers. 2022-01-13 08:06:35 +01:00
Rewrite [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
Sema [clang] Remove redundant member initialization (NFC) 2022-01-12 22:12:01 -08:00
Serialization Revert (2) "[AST] Add RParen loc for decltype AutoTypeloc." 2022-01-12 10:09:37 +00:00
StaticAnalyzer [clang] Fix bugprone argument comments (NFC) 2022-01-09 00:19:49 -08:00
Testing
Tooling [Tooling] When transferring compile commands between files, always use '--' 2022-01-11 01:41:42 +01:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00