|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| | llvm-svn: 142798 | 
| | 
| 
| 
| 
| 
| | -fdebug-compilation-dir. pwd[0] might not be '/' on Win32 hosts.
llvm-svn: 142720 | 
| | 
| 
| 
| 
| 
| 
| | closer to what GCC does, except that GCC also checks that the inodes for $PWD
and '.' match.
llvm-svn: 142633 | 
| | 
| 
| 
| | llvm-svn: 142418 | 
| | 
| 
| 
| 
| 
| 
| | r142300 but not this patch, clang -S may emit .s files that assemblers other
than llvm-mc can't parse.
llvm-svn: 142301 | 
| | 
| 
| 
| | llvm-svn: 142290 | 
| | 
| 
| 
| 
| 
| | libgcc to the link line into a helper function.
llvm-svn: 142269 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | There are now separate Triple::MacOSX and Triple::IOS values for the OS
so comparing against Triple::Darwin will fail to match those.  Note that
I changed the expected output for the Driver/rewrite-objc.m test, which had
previously not been passing Darwin-specific options with the macosx triple.
llvm-svn: 141944 | 
| | 
| 
| 
| 
| 
| 
| | c++11. The old names are kept for backwards-compatibility. Patch by Ahmed
Charles! Names for backwards-compatible DiagGroups removed by me.
llvm-svn: 141913 | 
| | 
| 
| 
| | llvm-svn: 141795 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | - This disables the system include directories, but not the compiler builtin
   directories. Useful for projects that want to use things like the intrinsic
   headers, but are otherwise freestanding.
 - I'm willing to reconsider the option naming, I also considered providing an
   explicit -builtinc (which would match -nobuiltininc), but this is more
   consistent with existing options.
llvm-svn: 141692 | 
| | 
| 
| 
| 
| 
| | paths). The -nostdinc behavior is now -nostdsysteminc + -nobuiltininc.
llvm-svn: 141691 | 
| | 
| 
| 
| | llvm-svn: 141573 | 
| | 
| 
| 
| | llvm-svn: 141434 | 
| | 
| 
| 
| | llvm-svn: 141373 | 
| | 
| 
| 
| | llvm-svn: 141320 | 
| | 
| 
| 
| | llvm-svn: 141268 | 
| | 
| 
| 
| 
| 
| 
| | line options.
 - <rdar://problem/10120602>, PR9631
llvm-svn: 141211 | 
| | 
| 
| 
| 
| 
| 
| | was assembly.  Otherwise, something like -save-temps causes the integrated
assembler to warn.
llvm-svn: 141127 | 
| | 
| 
| 
| 
| 
| 
| | was assembly.  Otherwise, something like -save-temps causes the integrated
assembler to warn.
llvm-svn: 141055 | 
| | 
| 
| 
| 
| 
| 
| | using the integrated assembler.
rdar://10216353
llvm-svn: 141053 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | increasingly prevailing case to the point that new features
like ARC don't even support the fragile ABI anymore.
This required a little bit of reshuffling with exceptions
because a check was assuming that ObjCNonFragileABI was
only being set in ObjC mode, and that's actually a bit
obnoxious to do.
Most, though, it involved a perl script to translate a ton
of test cases.
Mostly no functionality change for driver users, although
there are corner cases with disabling language-specific
exceptions that we should handle more correctly now.
llvm-svn: 140957 | 
| | 
| 
| 
| 
| 
| | specification flags to cc1.  This fixes PR10369 (__builtin_NSStringMakeConstantString() selecting the wrong runtime in C / C++ code and crashing, although it doesn't fix the problem that instantiating the Mac runtime for non-Darwin targets was crashing.)
llvm-svn: 140853 | 
| | 
| 
| 
| 
| 
| | for a lot of cross-compile toolchains.  Also add some slightly better support for -B.
llvm-svn: 140645 | 
| | 
| 
| 
| 
| 
| 
| | -mcpu.
 
llvm-svn: 140562 | 
| | 
| 
| 
| | llvm-svn: 140367 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | This moves the existing code for CPATH into the driver and adds the environment lookup and path splitting there.
The paths are then passed down to cc1 with -I options (CPATH), added after the normal user-specified include dirs.
Language specific paths are passed via -LANG-isystem and the actual filtering is performed in the frontend.
I tried to match GCC's behavior as close as possible
Fixes PR8971.
llvm-svn: 140341 | 
| | 
| 
| 
| | llvm-svn: 140226 | 
| | 
| 
| 
| 
| 
| | rdar://10125227
llvm-svn: 140179 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | compiler switch: -fms-compatility.
Microsoft specific tweaking will now fall into 2 categories:
    - fms-extension: Microsoft specific extensions that should never change the meaning of an otherwise well formed code. Currently map to LangOptions::Microsoft. (To be clearer, I am planning to change the name to LangOptions::MicrosoftExt).
    - fms-compatibility: Really a MSVC emulation mode. Map to LangOptions::MicrosoftMode. Can change the meaning of an otherwise standard conformant program.
llvm-svn: 139978 | 
| | 
| 
| 
| | llvm-svn: 139977 | 
| | 
| 
| 
| 
| 
| 
| | #include or #import direcctives of framework headers into module
imports of the corresponding framework module.
llvm-svn: 139860 | 
| | 
| 
| 
| 
| 
| 
| | supplied, use something derived from the system's temporary
directory. Depends on LLVM r139725.
llvm-svn: 139726 | 
| | 
| 
| 
| 
| 
| 
| 
| | feature akin to the ARC runtime checks.  Removes a terrible hack where
IR gen needed to find the declarations of those symbols in the translation
unit.
llvm-svn: 139404 | 
| | 
| 
| 
| 
| 
| 
| | filtered.  This happenis when -save-temps is specified. 
<rdar://problem/10088387>
llvm-svn: 139269 | 
| | 
| 
| 
| 
| 
| | I had to force -fno-delayed-template-parsing on some Index tests because delayed template parsing will change the output of some tests.
llvm-svn: 138942 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | synthesis. This new feature is currently placed under 
-fobjc-default-synthesize-properties option
and is off by default pending further testing.
It will become the default feature soon. 
// rdar://8843851
llvm-svn: 138913 | 
| | 
| 
| 
| 
| 
| 
| 
| | cases we want the prefix to be the original file name less the suffix.  For an
input such as test.c to named temporary would be something like test-3O4Clq.o
Part of <rdar://problem/8314451>
llvm-svn: 138662 | 
| | 
| 
| 
| 
| 
| | <rdar://problem/10027287>
llvm-svn: 138637 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | enable/disable merging of
globals during codegen.
Fixes <rdar://problem/10017909>.
llvm-svn: 138612 | 
| | 
| 
| 
| | llvm-svn: 138611 | 
| | 
| 
| 
| | llvm-svn: 138610 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | output on darwin so is hard coded there.
As a note this will need a little bit of refactoring in the class
hierarchy to separate it out for different verifiers based on input type.
Fixes rdar://8256258.
llvm-svn: 138343 | 
| | 
| 
| 
| 
| 
| | This matches gcc's behavior.
llvm-svn: 138324 | 
| | 
| 
| 
| 
| 
| 
| 
| | when falling back to cc1plus for our compile.
rdar://9963920
llvm-svn: 138017 | 
| | 
| 
| 
| | llvm-svn: 137958 | 
| | 
| 
| 
| | llvm-svn: 137918 | 
| | 
| 
| 
| | llvm-svn: 137915 | 
| | 
| 
| 
| 
| 
| 
| | that aren't handled by llvm-gcc on fallback.
Enhancement to rdar://9964354
llvm-svn: 137912 | 
| | 
| 
| 
| 
| 
| | This is going to be made a table.
llvm-svn: 137907 |