llvm-project/clang/lib
Daniel Dunbar 2cc3f17a26 Driver: Add magic handling for "reserved library names", starting with
-lstdc++. This is the best gross solution for a gross problem.

This issue is that historically, GCC has add -L options to its internally
library directories. This has allowed users and platforms to end up depending on
the layout of GCC's internal library directories.

We want to correct this mistake by eliminating that -L, but this means that
existing libraries which are in the GCC lib dir won't be found. We are going to
handle this by treating those -l names as "reserved", and requiring toolchains
to know how to add the right full path to the reserved library.

The immediately side effect of this is that users trying to use -L to find their
own -lstdc++ will need to start using -nostdlib (which is a good idea
anyway). Another side effect is that -stdlib=libc++ -lstdc++ will now do the
"right" thing, for curious definitions of right.

llvm-svn: 114144
2010-09-17 00:45:02 +00:00
..
AST Right, there are *two* cases of pr-value class-type expressions that don't 2010-09-16 06:57:56 +00:00
Analysis Tidy up. 2010-09-16 03:28:18 +00:00
Basic Fix Windows64 target info so pointer arithmetic is done correctly, and no sign extension code is emitted: PtrDiffType needs to be a signed long long. Add a corresponding test case. 2010-09-15 00:28:12 +00:00
Checker Refactored BugReporter to refer to EndNode as ErrorNode. We currently make the assumption that EndNode == ErrorNode, but upcoming changes will break this. 2010-09-16 03:50:38 +00:00
CodeGen IRgen/ABI/x86-32: Realign indirect arguments when the ABI requires us to pass 2010-09-16 20:42:06 +00:00
Driver Driver: Add magic handling for "reserved library names", starting with 2010-09-17 00:45:02 +00:00
Frontend Handle '#line' in '-E' that has an empty file name. Fixes <rdar://problem/8439412>. 2010-09-17 00:41:18 +00:00
FrontendTool Revert "CMake: Update to use standard CMake dependency tracking facilities instead" 2010-09-13 23:54:41 +00:00
Headers fix PR7192 by defining wchar_t in a more conventional way. The 2010-09-05 23:29:49 +00:00
Index Revert "CMake: Update to use standard CMake dependency tracking facilities instead" 2010-09-13 23:54:41 +00:00
Lex Revert "CMake: Update to use standard CMake dependency tracking facilities instead" 2010-09-13 23:54:41 +00:00
Parse Implement code completion for Objective-C class message sends that are 2010-09-16 15:14:18 +00:00
Rewrite Revert "CMake: Update to use standard CMake dependency tracking facilities instead" 2010-09-13 23:54:41 +00:00
Sema When dealing with an anonymous enumeration declared in function 2010-09-16 23:58:57 +00:00
Serialization Macro definitions in AST files have their own IDs. 2010-09-15 19:54:06 +00:00
CMakeLists.txt Move ExecuteCompilerInvocation to a new library FrontendTool 2010-08-24 00:31:22 +00:00
Makefile Move ExecuteCompilerInvocation to a new library FrontendTool 2010-08-24 00:31:22 +00:00