- Jan 22, 2014
-
-
Richard Smith authored
language options. This is not really ideal -- we should require the right language options to be passed in, or not require language options to format a name -- but it fixes a number of *obviously* wrong formattings. Patch by Olivier Goffart! llvm-svn: 199778
-
Rafael Espindola authored
llvm-svn: 199777
-
Rafael Espindola authored
llvm-svn: 199776
-
Venkatraman Govindaraju authored
Fixes PR#18521 llvm-svn: 199775
-
Nico Rieck authored
Checking in ActOnVariableDeclarator computes and caches the linkage using the non-deduced auto type which defaults to external linkage. Depending on how the auto type is deduced linkage can change and conflict with the cached linkage, hitting asserts. llvm-svn: 199774
-
Alp Toker authored
Cleanup only. llvm-svn: 199773
-
Richard Smith authored
type if the capture is, actually, by copy. llvm-svn: 199772
-
Chandler Carruth authored
inconsistent results for different orderings of alloca slices. The fundamental issue is that it is just always a mistake to return early from this function. There is no effective early exit to leverage. This patch stops trynig to do so and simplifies the code a bit as a consequence. Original diagnosis and patch by James Molloy with some name tweaks by me in part reflecting feedback from Duncan Smith on the mailing list. llvm-svn: 199771
-
Rafael Espindola authored
The constructors of classes deriving from Binary normally take an error_code as an argument to the constructor. My original intent was to change them to have a trivial constructor and move the initial parsing logic to a static method returning an ErrorOr. I changed my mind because: * A constructor with an error_code out parameter is extremely convenient from the implementation side. We can incrementally construct the object and give up when we find an error. * It is very efficient when constructing on the stack or when there is no error. The only inefficient case is where heap allocating and an error is found (we have to free the memory). The result is that this is a much smaller patch. It just standardizes the create* helpers to return an ErrorOr. Almost no functionality change: The only difference is that this found that we were trying to read past the end of COFF import library but ignoring the error. llvm-svn: 199770
-
- Jan 21, 2014
-
-
Chandler Carruth authored
libc++) when the installation is within the system root. This doesn't really help cross compiles much, but we don't (currently) have a great story around libc++, cross compiles, and who is responsible for building and/or installing the libraries. However, it handles the very common case of non-cross builds in a way entirely consistent with GCC, so I'm hopeful this won't really hose anyone. This is the second patch that I think should be backported to 3.4 to give folks an easy to checkout and install working Clang+libc++ toolchain. llvm-svn: 199769
-
Duncan P. N. Exon Smith authored
Fix a crash in SjLjEHPrepare::lowerIncomingArguments caused by treating VectorType like an aggregate. It's first-class! <rdar://problem/15854596> llvm-svn: 199768
-
Chandler Carruth authored
match the (reasonably prevelant) usage in Clang's test suite and so seems more "canonical". llvm-svn: 199767
-
Andrew Trick authored
Generalized the heuristic that looks at the (very rough) size of the register file before enabling regpressure tracking. llvm-svn: 199766
-
David Majnemer authored
llvm-svn: 199765
-
David Majnemer authored
The MSVC C++ ABI always uses the deduced type in place of auto when generating external names for variables. N.B. MSVC doesn't support C++1y's 'operator auto' and this patch will not give us said functionality. llvm-svn: 199764
-
Hal Finkel authored
For PPC64 SVR (and Darwin), the stores that take byval aggregate parameters from registers into the stack frame had MachinePointerInfo objects with incorrect offsets. These offsets are relative to the object itself, not to the stack frame base. This fixes self hosting on PPC64 when compiling with -enable-aa-sched-mi. llvm-svn: 199763
-
David Blaikie authored
Patch by Alex Wang. llvm-svn: 199762
-
Todd Fiala authored
lldb-gdbserver now takes zero or more --lldb-command {command} options that get executed by the command interpreter prior to starting up a child debuggee process. The short form is -c {command}. This is similar to how lldb-platform works. This command can be used to enable logging in more than just the gdb-remote log channel. Here is an example startup sequence that allows logging of lldb host and process log categories to one file and gdb-remote packets to another file: lldb-gdbserver -c 'log enable -f lgs.log lldb process host' \ -c 'log enable -f lgs_packets.log gdb-remote packets' \ localhost:5432 ./some_exe llvm-svn: 199761
-
Adrian Prantl authored
of the current compilation unit. As a side effect this enables many more LTO uniquing opportunities. This reapplies r199757 with a better testcase. llvm-svn: 199760
-
Yunzhong Gao authored
dependent libraries from a bitcode module. Differential Revision: http://llvm-reviews.chandlerc.com/D2343 llvm-svn: 199759
-
Adrian Prantl authored
llvm-svn: 199758
-
Adrian Prantl authored
of the current compilation unit. As a side effect this enables many more LTO uniquing opportunities. rdar://problem/15851206 llvm-svn: 199757
-
Chandler Carruth authored
C compilations as well and these flags don't make any sense there. llvm-svn: 199756
-
Alp Toker authored
Also make the -m16 check x86-specific. Other archs may have a different take on things. llvm-svn: 199755
-
David Woodhouse authored
llvm-svn: 199754
-
Amara Emerson authored
llvm-svn: 199753
-
Rafael Espindola authored
llvm-svn: 199752
-
Rafael Espindola authored
llvm-svn: 199751
-
Daniel Jasper authored
Support for protocol buffer files seems complete enough. llvm-svn: 199750
-
Daniel Sanders authored
No functional change since the InstrItinData's have been duplicated. llvm-svn: 199749
-
Daniel Sanders authored
No functional change since the InstrItinData's have been duplicated. llvm-svn: 199748
-
Daniel Sanders authored
No functional change since the InstrItinData's have been duplicated. llvm-svn: 199747
-
Justin Holewinski authored
llvm-svn: 199746
-
Daniel Sanders authored
No functional change since the InstrItinData's have been duplicated. llvm-svn: 199743
-
Daniel Sanders authored
llvm-svn: 199742
-
Daniel Sanders authored
No functional change llvm-svn: 199741
-
Tim Northover authored
Very sorry, I managed to completely forget "make check". llvm-svn: 199739
-
Daniel Sanders authored
No functional change llvm-svn: 199738
-
Daniel Sanders authored
No functional change since the InstrItinData's have been duplicated. llvm-svn: 199737
-
Alexey Samsonov authored
llvm-svn: 199736
-