| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 78559
|
| |
|
|
| |
llvm-svn: 78558
|
| |
|
|
| |
llvm-svn: 78557
|
| |
|
|
| |
llvm-svn: 78556
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For example,
--
ddunbar@giles:Frontend$ clang -c backend-errors.c
fatal error: error in backend: Global variable 'a' has an invalid section specifier
'I AM, not, legal': mach-o section specifier uses an unknown section type.
--
compare to:
--
ddunbar@giles:Frontend$ gcc -c backend-errors.c
/var/folders/DQ/DQ8GT3++HESEzT1obWBynE+++TI/-Tmp-//cc45w2pq.s:2:Expected comma after segment-name
/var/folders/DQ/DQ8GT3++HESEzT1obWBynE+++TI/-Tmp-//cc45w2pq.s:2:Rest of line ignored. 1st junk character valued 77 (M).
--
Yay!
I am not tied to my wording choice, we could also go with "uncoverable error"
for the prefix, or just leave it off entirely.
llvm-svn: 78554
|
| |
|
|
| |
llvm-svn: 78553
|
| |
|
|
|
|
| |
add support for PtrToInt, Add, Mul.
llvm-svn: 78552
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--- Reverse-merging r78535 into '.':
D test/Sema/altivec-init.c
U include/clang/Basic/DiagnosticSemaKinds.td
U include/clang/AST/Expr.h
U include/clang/AST/StmtNodes.def
U include/clang/Parse/Parser.h
U include/clang/Parse/Action.h
U tools/clang-cc/clang-cc.cpp
U lib/Frontend/PrintParserCallbacks.cpp
U lib/CodeGen/CGExprScalar.cpp
U lib/Sema/SemaInit.cpp
U lib/Sema/Sema.h
U lib/Sema/SemaExpr.cpp
U lib/Sema/SemaTemplateInstantiateExpr.cpp
U lib/AST/StmtProfile.cpp
U lib/AST/Expr.cpp
U lib/AST/StmtPrinter.cpp
U lib/Parse/ParseExpr.cpp
U lib/Parse/ParseExprCXX.cpp
llvm-svn: 78551
|
| |
|
|
| |
llvm-svn: 78550
|
| |
|
|
| |
llvm-svn: 78549
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of syntactically as a string. This means that it keeps track of the
segment, section, flags, etc directly and asmprints them in the right format.
This also includes parsing and validation support for llvm-mc and
"attribute(section)", so we should now start getting errors about invalid
section attributes from the compiler instead of the assembler on darwin.
Still todo:
1) Uniquing of darwin mcsections
2) Move all the Darwin stuff out to MCSectionMachO.[cpp|h]
3) there are a few FIXMEs, for example what is the syntax to get the
S_GB_ZEROFILL segment type?
llvm-svn: 78547
|
| |
|
|
| |
llvm-svn: 78546
|
| |
|
|
| |
llvm-svn: 78545
|
| |
|
|
| |
llvm-svn: 78544
|
| |
|
|
|
|
| |
Noticed by Yonggang Luo!
llvm-svn: 78543
|
| |
|
|
|
|
| |
non-pointer type
llvm-svn: 78542
|
| |
|
|
|
|
| |
function's return
llvm-svn: 78541
|
| |
|
|
| |
llvm-svn: 78540
|
| |
|
|
| |
llvm-svn: 78538
|
| |
|
|
|
|
| |
compliant. Comment trailing endifs
llvm-svn: 78537
|
| |
|
|
| |
llvm-svn: 78536
|
| |
|
|
|
|
|
|
| |
In addition to being defined by the AltiVec PIM, this is also the vector
initializer syntax used by OpenCL, so that vector literals are compatible
with macro arguments.
llvm-svn: 78535
|
| |
|
|
| |
llvm-svn: 78534
|
| |
|
|
| |
llvm-svn: 78533
|
| |
|
|
|
|
|
|
|
|
| |
make it easier to see interesting ambiguities.
- Also, check that user doesn't try to redefine the super class. This is a wart
in the current design, in that assembler match classes aren't explicitly
declared somewhere (so there isn't a unique place to declare the super
class). This should probably be fixed.
llvm-svn: 78532
|
| |
|
|
| |
llvm-svn: 78531
|
| |
|
|
|
|
| |
- We can now discriminate SUB32ri8 from SUB32ri, for example.
llvm-svn: 78530
|
| |
|
|
| |
llvm-svn: 78529
|
| |
|
|
| |
llvm-svn: 78528
|
| |
|
|
|
|
|
|
|
|
|
| |
- We want the ordering operation to be simple, since we run it on every
match. The old ordering is also not a strict weak ordering when there are
ambiguities, which makes MSVC unhappy.
- While we are at it, detect all ambiguities instead of just the adjacent
ones. There are actually 655, for X86.
llvm-svn: 78526
|
| |
|
|
|
|
|
| |
take the table vectors as separate arguments, instead of the previous
approach where they were combined into one big vector.
llvm-svn: 78525
|
| |
|
|
|
|
| |
classes for X86.
llvm-svn: 78524
|
| |
|
|
|
|
| |
-2 FIXMEs.
llvm-svn: 78523
|
| |
|
|
|
|
|
| |
ambiguities.
- Currently there are 483 ambiguities to resolve. :)
llvm-svn: 78522
|
| |
|
|
| |
llvm-svn: 78521
|
| |
|
|
| |
llvm-svn: 78520
|
| |
|
|
| |
llvm-svn: 78519
|
| |
|
|
| |
llvm-svn: 78518
|
| |
|
|
|
|
|
|
| |
classes.
This totally optimizes PIC16 sections by not having an 'isdirective' bit anymore!! ;-)
llvm-svn: 78517
|
| |
|
|
|
|
| |
of base/field which have trivial copy constructor.
llvm-svn: 78516
|
| |
|
|
| |
llvm-svn: 78515
|
| |
|
|
|
|
| |
'no_hash' modifier. Hopefully this will make Daniel happy :)
llvm-svn: 78514
|
| |
|
|
|
|
|
|
|
|
|
| |
- Track whether we need to insert an explicit 'break'.
- Invert conditional when matching a single prefix to reduce
nesting/bracing/breaking.
- wc -l of X86GenAsmMatcher.inc decreased by 10%. :)
llvm-svn: 78513
|
| |
|
|
| |
llvm-svn: 78512
|
| |
|
|
| |
llvm-svn: 78511
|
| |
|
|
|
|
|
|
|
| |
2. Move section switch printing to MCSection virtual method which takes a
TAI. This eliminates textual formatting stuff from TLOF.
3. Eliminate SwitchToSectionDirective, getSectionFlagsAsString, and
TLOFELF::AtIsCommentChar.
llvm-svn: 78510
|
| |
|
|
|
|
|
| |
llvm-mc's purpose yet and we'll want to switch to creating semantic sections
at some point.
llvm-svn: 78509
|
| |
|
|
|
|
|
|
|
| |
bytes for F2 0F 38 and propagate. Add a FIXME for a set
of possibilities which correspond to intrinsics already used.
New test.
llvm-svn: 78508
|
| |
|
|
|
|
| |
variables.
llvm-svn: 78507
|
| |
|
|
| |
llvm-svn: 78506
|