llvm-project/clang/lib/Driver
James Y Knight 5bdf7ab0cf Properly pass through the PIC mode to the integrated assembler when
doing assembly-only, and unify the Driver's PIC argument parsing.

On a few architectures, parsing of assembly files annoyingly depends
on whether PIC is enabled or not. This was handled for external 'as'
already (passing -KPIC), but was missed for calls to the standalone
internal assembler.

The integrated-as.s test needed to be modified to not expect
-fsanitize=address to be unused, as now fsanitize *IS* used for
assembly, since -fsanitize=memory can sometimes imply -fPIE, which the
assembler needs to know (gack!!).

Differential Revision: http://reviews.llvm.org/D11845

llvm-svn: 245447
2015-08-19 15:12:02 +00:00
..
Action.cpp [CUDA] Moved device-side triple calculation to buildCudaActions(). 2015-07-20 21:59:31 +00:00
CMakeLists.txt Support mingw-w64 and mingw.org toolchains at any install location. 2015-07-02 04:45:27 +00:00
Compilation.cpp Driver: Remove the Job class. NFC 2015-07-02 22:52:08 +00:00
CrossWindowsToolChain.cpp Pedantically rename all Tool subclasses to be nouns, not verbs. NFC 2015-06-23 20:42:09 +00:00
Driver.cpp Don't compare getArchName() to "tce" as a string. NFC. 2015-08-12 18:36:12 +00:00
DriverOptions.cpp Remove the SUPPORT_ALIASARGS define 2013-08-01 00:12:13 +00:00
InputInfo.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Job.cpp Driver: Strip -header-include-file and -diagnostic-log-file from crash repro scripts 2015-08-05 23:49:44 +00:00
MSVCToolChain.cpp [clang-cl] Handle -O correctly 2015-07-27 07:32:11 +00:00
Makefile
MinGWToolChain.cpp Driver: Fix include directories when not using libgcc under mingw 2015-08-13 15:41:04 +00:00
Multilib.cpp [multilib] Turn virtual functor into functin_ref 2015-03-22 15:56:12 +00:00
Phases.cpp Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
SanitizerArgs.cpp CodeGen: Improve CFI type blacklisting mechanism. 2015-07-15 12:15:56 +00:00
Tool.cpp Teach Clang how to use response files when calling other tools 2014-09-15 17:45:39 +00:00
ToolChain.cpp Range-forify a loop, delete trailing whitespace. NFC 2015-08-06 22:36:24 +00:00
ToolChains.cpp Represent 2 parallel string arrays as one string[][2] array. 2015-08-14 15:52:12 +00:00
ToolChains.h Rename {Hexagon,NaCl}_TC to {Hexagon,NaCl}ToolChain respectively. NFC 2015-07-27 16:53:08 +00:00
Tools.cpp Properly pass through the PIC mode to the integrated assembler when 2015-08-19 15:12:02 +00:00
Tools.h [ARM] Changes to Arch/CPU handling to help with -Wa,-mfpu etc. (nfc) 2015-07-27 23:44:42 +00:00
Types.cpp [cuda] Driver changes to compile and stitch together host and device-side CUDA code. 2015-07-13 23:27:56 +00:00