- Dec 04, 2007
-
-
Ted Kremenek authored
llvm-svn: 44564
-
Ted Kremenek authored
llvm-svn: 44563
-
Ted Kremenek authored
llvm-svn: 44561
-
Ted Kremenek authored
we default to "i386-apple-darwin". This is an interim solution. Removed processing of "linux" triples from Targets.cpp, since we don't have any sensical Linux target support (yet). Cleaned up error processing of targets; added better diagnostics. llvm-svn: 44560
-
Scott Michel authored
llvm-svn: 44559
-
Scott Michel authored
llvm-svn: 44558
-
Scott Michel authored
llvm-svn: 44557
-
Fariborz Jahanian authored
llvm-svn: 44556
-
- Dec 03, 2007
-
-
Ted Kremenek authored
SerializationTest (subclass of ASTConsumer) now takes Diagnostics& in its ctor. llvm-svn: 44555
-
Ted Kremenek authored
llvm-svn: 44554
-
Fariborz Jahanian authored
llvm-svn: 44553
-
Ted Kremenek authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=44551 Removed debugging fprintfs for printing targets. Implemented error messages when processing invalid targets. llvm-svn: 44552
-
Ted Kremenek authored
replaces the functionality previously provided by just "-arch" (which is still supported but has different semantics). The new behavior is as follows: (1) If the user does not specify -triple: (a) If no -arch options are specified, the target triple used is the host triple (in llvm/Config/config.h). (b) If one or more -arch's are specified (and no -triple), then there is one triple for each -arch, where the specified arch is substituted for the arch in the host triple. Example: host triple = i686-apple-darwin9 command: clang -arch ppc -arch ppc64 ... triples used: ppc-apple-darwin9 ppc64-apple-darwin9 (2) The user does specify a -triple (only one allowed): (a) If no -arch options are specified, the triple specified by -triple is used. E.g clang -triple i686-apple-darwin9 (b) If one or more -arch options are specified, then the triple specified by -triple is used as the primary target, and the arch's specified by -arch are used to create secondary targets. For example: clang -triple i686-apple-darwin9 -arch ppc -arch ppc64 has the following targets: i686-apple-darwin9 (primary target) ppc-apple-darwin9 ppc64-apple-darwin9 Other changes related to the changes to the driver: - TargetInfoImpl now includes the triple string. - TargetInfo::getTargetTriple returns the triple for its primary target. - test case test/Parser/portability.c has been updated because "-arch linux" is no longer valid ("linux" is an OS, not an arch); instead we use a bogus architecture "bogusW16W16" where WCharWidth=16 and WCharAlign=16. llvm-svn: 44551
-
Chris Lattner authored
llvm-svn: 44550
-
Evan Cheng authored
llvm-svn: 44549
-
Fariborz Jahanian authored
llvm-svn: 44548
-
Gordon Henriksen authored
to the ocaml bindings. This is required on Windows where 'ln -sf' actually creates a copy. Thanks to Alain Frisch for noticing this. llvm-svn: 44547
-
Anton Korobeynikov authored
llvm-svn: 44546
-
Anton Korobeynikov authored
llvm-svn: 44545
-
Duncan Sands authored
throw exceptions", just mark intrinsics with the nounwind attribute. Likewise, mark intrinsics as readnone/readonly and get rid of special aliasing logic (which didn't use anything more than this anyway). llvm-svn: 44544
-
Chris Lattner authored
llvm-svn: 44543
-
John Criswell authored
llvm-svn: 44542
-
Anton Korobeynikov authored
llvm-svn: 44541
-
Fariborz Jahanian authored
(Also fixed a regression caused by recent changes to synthesis of structs). llvm-svn: 44540
-
Devang Patel authored
insert new ExitValue after this operand definition. This fixes PR1828. llvm-svn: 44539
-
Anton Korobeynikov authored
Thanks goes to PyPy folks for generating broken stuff :) llvm-svn: 44538
-
Chris Lattner authored
llvm-svn: 44537
-
Ted Kremenek authored
provide handy accessors to the subexpressions of ConditionalOperator that automatically take into account the GCC extension where the "LHS" expression is omitted: e.g x ?: y;. When the LHS expression is available, getTrueExpr() is the same as getLHS(); when LHS is NULL, getTrueExpr() returns the condition expression. llvm-svn: 44536
-
Gordon Henriksen authored
llvm-svn: 44535
-
Anton Korobeynikov authored
llvm-svn: 44534
-
Anton Korobeynikov authored
windows-based hosts, where files are opened in text mode by default. llvm-svn: 44533
-
Evan Cheng authored
llvm-svn: 44532
-
Evan Cheng authored
llvm-svn: 44531
-
Bill Wendling authored
standard says that we should adjust the "reference to T" type to "T" before analysis. llvm-svn: 44530
-
Seo Sanghyeon authored
llvm-svn: 44529
-
Anton Korobeynikov authored
llvm-svn: 44528
-
Nick Lewycky authored
llvm-svn: 44527
-
Nick Lewycky authored
llvm-svn: 44526
-
Anders Carlsson authored
Handle initializing vector elements correctly. Emit just one warning if there are excess initializers, instead of one per initializer. llvm-svn: 44525
-
Chris Lattner authored
llvm-svn: 44524
-