| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 84219
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) -fwritable-string does affect the non-utf16 version of cfstrings
just not the utf16 ones.
2) utf16 strings should always be marked constant, as the __TEXT segment
is readonly.
3) The name of the global doesn't matter, remove it from TargetInfo.
4) Trust the asmprinter to drop cstrings into the right section, like llvmgcc does now.
This fixes rdar://7115750
llvm-svn: 84077
|
|
|
|
|
|
|
| |
handle the long size difference for one of the Windows targets." Patch
by John Thompson.
llvm-svn: 83592
|
|
|
|
| |
llvm-svn: 82894
|
|
|
|
|
|
| |
- Patch by John Thompson!
llvm-svn: 82621
|
|
|
|
|
|
| |
This implements PR5034 and rdar://6836445.
llvm-svn: 82614
|
|
|
|
| |
llvm-svn: 82578
|
|
|
|
| |
llvm-svn: 82164
|
|
|
|
|
|
| |
- Based on patch by Shantonu.
llvm-svn: 82147
|
|
|
|
|
|
|
|
| |
- Patch by Shantonu Sen!
<rdar://problem/6922650> clang doesn't know about ARM registers for inline asm clobber lists
llvm-svn: 82132
|
|
|
|
| |
llvm-svn: 82009
|
|
|
|
| |
llvm-svn: 81735
|
|
|
|
|
|
|
| |
- Change TargetData string to match llvm-gcc.
- Some -target-abi support for 'apcs-gnu', most importantly the alignment of double and long long changes.
llvm-svn: 81732
|
|
|
|
|
|
| |
thumb-foo-bar as an ARM target.
llvm-svn: 81497
|
|
|
|
| |
llvm-svn: 81346
|
|
|
|
|
|
| |
- Patch by David Chisnall, with PCH and Darwin support mixed in.
llvm-svn: 80883
|
|
|
|
| |
llvm-svn: 79907
|
|
|
|
|
|
| |
- Primarily to discourage clients form making decisions based on the string.
llvm-svn: 79901
|
|
|
|
| |
llvm-svn: 79544
|
|
|
|
| |
llvm-svn: 79462
|
|
|
|
|
|
| |
- Several FIXMEs due to non-Twinification of IRBuilder.
llvm-svn: 79455
|
|
|
|
|
|
| |
- Patch by Yonggang Luo (with some formatting tweaks by Eli and myself).
llvm-svn: 79320
|
|
|
|
| |
llvm-svn: 79271
|
|
|
|
| |
llvm-svn: 78794
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Passing something that isn't a string used to cause:
"argument to annotate attribute was not a string literal"
make it say "section attribute" instead.
2. Fix the location of the above message to point to the
bad argument instead of the section token.
3. Implement rdar://4341926, by diagnosing invalid section
specifiers in the frontend rather than letting them slip all
the way to the assembler (a QoI win).
An example of #3 is that we used to produce something like this:
/var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Expected comma after segment-name
/var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Rest of line ignored. 1st junk character valued 46 (.).
Daniel improved clang to use llvm_report_error, so now we got:
$ clang t.c -c
fatal error: error in backend: Global variable 'x' has an invalid section specifier 'sadf': mach-o section specifier
requires a segment and section separated by a comma.
with no loc info. Now we get:
$ clang t.c -fsyntax-only
t.c:4:30: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment
and section separated by a comma
int x __attribute__((section("sadf")));
^
which is nice :)
llvm-svn: 78586
|
|
|
|
| |
llvm-svn: 78092
|
|
|
|
| |
llvm-svn: 76099
|
|
|
|
|
|
| |
some target hooks.
llvm-svn: 75895
|
|
|
|
| |
llvm-svn: 75492
|
|
|
|
|
|
| |
Patch by Roman Divacky.
llvm-svn: 75003
|
|
|
|
| |
llvm-svn: 74893
|
|
|
|
| |
llvm-svn: 74805
|
|
|
|
| |
llvm-svn: 74795
|
|
|
|
|
|
|
| |
to deal with for AST pretty-printing/rewriting. Patch by Abramo
Bagnara.
llvm-svn: 74752
|
|
|
|
| |
llvm-svn: 74606
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that I'm guessing that *BSD and Solaris do the same thing as Linux
here, but it's quite possible I'm wrong; if the following testcase
gives an error on x86-64 with gcc for any of those operating systems, please
tell me:
#include <stdint.h>
int64_t x; long x;
llvm-svn: 74583
|
|
|
|
|
|
| |
'make test' passes now.
llvm-svn: 74539
|
|
|
|
| |
llvm-svn: 74536
|
|
|
|
|
|
|
|
| |
This unifies all the targets supported by an OS into a template.
It also cleans up the differences between the darwin targets.
Also __LP64__ wasn't needed for *BSD, since x86-64 target defines it anyway.
llvm-svn: 74532
|
|
|
|
| |
llvm-svn: 74479
|
|
|
|
| |
llvm-svn: 74467
|
|
|
|
|
|
| |
- Patch by Jonathan Gray!
llvm-svn: 74453
|
|
|
|
| |
llvm-svn: 74414
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 74083
|
|
|
|
| |
llvm-svn: 73934
|
|
|
|
|
|
| |
fixes a layering violation in lib/Basic/Targets.cpp.
llvm-svn: 73318
|
|
|
|
|
|
|
| |
- <rdar://problem/6948443> WARNING: Linking two modules of different data
layouts!
llvm-svn: 73093
|
|
|
|
| |
llvm-svn: 73083
|
|
|
|
| |
llvm-svn: 73081
|