#
d63bbadb |
| 28-Jun-2009 |
Bill Wendling <isanbard@gmail.com> |
Add stack protector support to clang. This generates the 'ssp' and 'sspreq' function attributes. There are predefined macros that are defined when stack protectors are used: __SSP__=1 with -fstack-pr
Add stack protector support to clang. This generates the 'ssp' and 'sspreq' function attributes. There are predefined macros that are defined when stack protectors are used: __SSP__=1 with -fstack-protector and __SSP_ALL__=2 with -fstack-protector-all.
llvm-svn: 74405
show more ...
|
#
2fe5b264 |
| 23-Jun-2009 |
Chris Lattner <sabre@nondot.org> |
__APPLE_CC__ should only be set when building for darwin targets.
llvm-svn: 73934
|
#
b188455e |
| 15-Jun-2009 |
Eli Friedman <eli.friedman@gmail.com> |
PR4388: get rid of an extra # line directive; in addition to being unnecessary, this was causing issues for assembler-with-cpp mode, which doesn't process the directive.
llvm-svn: 73382
|
#
aa27a87a |
| 08-Jun-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Misc minor fixes for clang for the Windows target.
llvm-svn: 73050
|
#
9ffd4a9b |
| 05-Jun-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Move CharIsSigned from TargetInfo to LangOptions.
llvm-svn: 72928
|
#
fd4b1559 |
| 04-Jun-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Move a couple Darwin-specific defines into getDarwinDefines.
llvm-svn: 72900
|
#
5e4702db |
| 04-Jun-2009 |
Chris Lattner <sabre@nondot.org> |
DefineBuiltinMacro is always passed two args, remove the defaulted third one.
llvm-svn: 72868
|
#
f4063513 |
| 03-Jun-2009 |
Duncan Sands <baldrick@free.fr> |
Compile fix needed by the solaris system gcc.
llvm-svn: 72772
|
#
57406b27 |
| 23-May-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Add IEEE quad support to DefineFloatMacros.
llvm-svn: 72314
|
#
f98fc352 |
| 23-May-2009 |
Eli Friedman <eli.friedman@gmail.com> |
PR4247: Widen the buffer slightly so it can hold all the definitions for PPC double double.
(No testcase because no normal target uses the format at the moment.)
llvm-svn: 72310
|
#
a4404f21 |
| 22-May-2009 |
Fariborz Jahanian <fjahanian@apple.com> |
This patch adds support for sender-aware dispatch in Objective-C for the GNU runtime, when compiled with -fobjc-sender-dependent-dispatch. This is used in AOP, COP, implementing object planes, and
This patch adds support for sender-aware dispatch in Objective-C for the GNU runtime, when compiled with -fobjc-sender-dependent-dispatch. This is used in AOP, COP, implementing object planes, and a few other things. Patch by David Chisnall.
llvm-svn: 72275
show more ...
|
#
174c3109 |
| 18-May-2009 |
Eli Friedman <eli.friedman@gmail.com> |
Remove unused parameter.
llvm-svn: 71996
|
#
4579b76f |
| 15-May-2009 |
Chris Lattner <sabre@nondot.org> |
Fix processing of -Ufoo to not inject "#undef foo 1" into the predefines buffer. This caused exciting nonsense like this:
$ clang t.c -fsyntax-only -UMACRO In file included from <built-in>:104: <co
Fix processing of -Ufoo to not inject "#undef foo 1" into the predefines buffer. This caused exciting nonsense like this:
$ clang t.c -fsyntax-only -UMACRO In file included from <built-in>:104: <command line>:1:14: warning: extra tokens at end of #undef directive [-Wextra-tokens] #undef MACRO 1 ^ // 1 diagnostic generated.
rdar://6891800
llvm-svn: 71860
show more ...
|
#
66cb0131 |
| 22-Apr-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add another workaround for -include. - If we don't find a file looking relative to the current working directory, fall back to header search. This is closer to what would happen if the lookup
Add another workaround for -include. - If we don't find a file looking relative to the current working directory, fall back to header search. This is closer to what would happen if the lookup was starting from right directory in the first place (except it will find files in the directory of the main source file, which I *think* should not be found).
- PR3992.
llvm-svn: 69794
show more ...
|
#
ed462a8d |
| 22-Apr-2009 |
Chris Lattner <sabre@nondot.org> |
Fix rdar://6814950 - stdint.h isn't "-pedantic -std=c89" clean, by marking the predefines buffer as a system header. The problem with stdint is that it was getting problems like this:
/Volumes/Pro
Fix rdar://6814950 - stdint.h isn't "-pedantic -std=c89" clean, by marking the predefines buffer as a system header. The problem with stdint is that it was getting problems like this:
/Volumes/Projects/cvs/llvm/Debug/lib/clang/1.0/include/stdint.h:43:9: warning: 'long long' is an extension when C99 mode is not enabled typedef __INT64_TYPE__ int64_t; ^ <built-in>:73:29: note: instantiated from: #define __INT64_TYPE__ long long ^
We correctly silence warnings in system headers, but only if the spelling location of the token came from the system header. This is designed so that if you use a system macro in your code that you don't get punished for its definition. This is all cool except that the predefines buffer wasn't considered a system header.
llvm-svn: 69770
show more ...
|
#
6af6edb8 |
| 21-Apr-2009 |
Chris Lattner <sabre@nondot.org> |
this time with more workingness.
llvm-svn: 69669
|
#
e08c43a3 |
| 21-Apr-2009 |
Chris Lattner <sabre@nondot.org> |
fix massive testsuite failures from Alexei's patch due to inverted logic.
llvm-svn: 69666
|
#
2f5693f6 |
| 21-Apr-2009 |
Chris Lattner <sabre@nondot.org> |
Split preprocessor initialization logic out of clang-cc into libfrontend. Patch by Alexei Svitkine!
llvm-svn: 69664
|