- Jan 06, 2014
-
-
Jean-Daniel Dupas authored
Introduce a cmake LLVM_ENABLE_LIBCXX build parameter to compile using libc++ instead of the system default Summary: This parameter is required to build C++11 projects (like lld or lldb) on OS X as the default STL does not provide c++ classes. CC: llvm-commits, triton Differential Revision: http://llvm-reviews.chandlerc.com/D2381 llvm-svn: 198625
-
Rafael Espindola authored
llvm-svn: 198624
-
Marshall Clow authored
Back out the <type_traits> changes from r198431; they were breaking when building with glibc. Need to find a better solution for PR18218. llvm-svn: 198623
-
Alp Toker authored
Try to fix Compiler Error C2011 following r198607 by removing enum from 'enum TokenKind' parameter types. llvm-svn: 198621
-
Marshall Clow authored
llvm-svn: 198618
-
Tim Northover authored
The ARM backend has been using most of the MachO related subtarget checks almost interchangeably, and since the only target it's had to run on has been IOS (which is all three of MachO, Darwin and IOS) it's worked out OK so far. But we'd like to support embedded targets under the "*-*-none-macho" triple, which means everything starts falling apart and inconsistent behaviours emerge. This patch should pick a reasonably sensible set of behaviours for the new triple (and any others that come along, with luck). Some choices were debatable (notably FP == r7 or r11), but we can revisit those later when deficiencies become apparent. llvm-svn: 198617
-
Robert Lytton authored
llvm-svn: 198616
-
Robert Lytton authored
llvm-svn: 198615
-
Robert Lytton authored
This requires a knowledge of the stack size which is not known until the frame is complete, hence the need for the XCoreFTAOElim pass which lowers the XCoreISD::FRAME_TO_ARGS_OFFSET instrution into its final form. llvm-svn: 198614
-
Robert Lytton authored
Only handles a depth of zero (the same as FRAMEADDR) llvm-svn: 198613
-
Robert Lytton authored
llvm-svn: 198612
-
Robert Lytton authored
We also narrow the liveness of FP & LR during the prologue to reflect the actual usage of the registers. I have been unable to construct a test to prove the previous live range was too large. llvm-svn: 198611
-
Robert Lytton authored
This common functionality will be used to lower FRAME_TO_ARGS_OFFSET. llvm-svn: 198610
-
Robert Lytton authored
llvm-svn: 198609
-
Marshall Clow authored
Rename several internal templates to get rid of ___ (triple underscores) or worse, four. No functionality change. llvm-svn: 198608
-
Alp Toker authored
This matches up the underlying type against the actual storage type 'unsigned short' and lets us get rid of some casts while we're at it. Effort is made to keep this building in pre-C++11 but as with other features Token will be less efficiently packed in in legacy configurations. llvm-svn: 198607
-
Alp Toker authored
As far as the parser is concerned the tag type is always a keyword. llvm-svn: 198606
-
Alp Toker authored
llvm-svn: 198605
-
Alp Toker authored
Implemented with a new getKeywordSpelling() accessor. Unlike getTokenName() the result of this function is stable and may be used in diagnostic output. Uses of this feature are split out into the subsequent commit. llvm-svn: 198604
-
Alp Toker authored
That's what it does, what the documentation says it does and what callers expect it to do. llvm-svn: 198603
-
Tim Northover authored
Longer term, we want to move users to "*-*-*-macho" for embedded work, but for now people are relying on the last thing we told them, which is unfortunately "*-*-darwin-eabi". rdar://problem/15703934 llvm-svn: 198602
-
Alp Toker authored
enum-scoped.cpp:93:6: error: enumeration redeclared with different underlying type 'short' (was 'int') enum Redeclare6 : short; ^ enum-scoped.cpp:92:6: note: previous declaration is here enum Redeclare6 : int; ^ ~~~ The redeclaration source range is still missing but this is a step forward, potentially edging towards a FixIt. llvm-svn: 198601
-
Alp Toker authored
In all three checks, the note indicates a previous declaration and never a 'use'. Before: enum-scoped.cpp:92:6: note: previous use is here enum Redeclare6 : int; ^ After: enum-scoped.cpp:92:6: note: previous declaration is here enum Redeclare6 : int; ^ llvm-svn: 198600
-
Alp Toker authored
llvm-svn: 198599
-
Alp Toker authored
llvm-svn: 198598
-
Joey Gouly authored
type of a function. llvm-svn: 198597
-
Tobias Grosser authored
llvm-svn: 198596
-
Tobias Grosser authored
llvm-svn: 198595
-
Tobias Grosser authored
llvm-svn: 198594
-
Elena Demikhovsky authored
llvm-svn: 198593
-
Venkatraman Govindaraju authored
llvm-svn: 198592
-
Venkatraman Govindaraju authored
llvm-svn: 198591
-
David Majnemer authored
Instead of crashing, raise an error when a subtraction expression involves an undefined symbol. This fixes PR18375. llvm-svn: 198590
-
Craig Topper authored
llvm-svn: 198589
-
Craig Topper authored
llvm-svn: 198588
-
Craig Topper authored
llvm-svn: 198587
-
Craig Topper authored
The 0x66 prefix toggles between 16-bit and 32-bit addressing mode. So in 32-bit mode it is used to switch to 16-bit addressing mode for the following instruction, while in 16-bit mode it's the other way round — it's used to switch to 32-bit mode instead. Thus, emit the 0x66 prefix byte for OpSize only in 32-bit (and 64-bit) mode, and introduce a new OpSize16 bit which is used in 16-bit mode instead. This is just the basic infrastructure for that change; a subsequent patch will add the new OpSize16 bit to the 32-bit instructions that need it. Patch from David Woodhouse. llvm-svn: 198586
-
Bill Wendling authored
llvm-svn: 198585
-
Craig Topper authored
This is not really expected to work right yet. Mostly because we will still emit the OpSize (0x66) prefix in all the wrong places, along with a number of other corner cases. Those will all be fixed in the subsequent commits. Patch from David Woodhouse. llvm-svn: 198584
-
Saleem Abdulrasool authored
Add a reference to the ARM EHABI Specification as a follow up to SVN r198576 llvm-svn: 198583
-