- Jul 18, 2011
-
-
Jakob Stoklund Olesen authored
Make all of the RecTy constructors private, and use get() factory methods instead. Return singleton instances when it makes sense. ListTy instance pointers are stored in the element RecTy instance. BitsRecTy instance pointers, one per length, are stored in a static vector. Also unique DefInit instances. A Record has a unique DefInit which has a unique RecordRecTy instance. This saves some 200k-300k RecTy allocations when parsing ARM.td. It reduces TableGen's heap usage by almost 50%. llvm-svn: 135399
-
Jeffrey Yasskin authored
diagnostics. llvm-svn: 135398
-
Howard Hinnant authored
llvm-svn: 135397
-
Chris Lattner authored
llvm-svn: 135396
-
Enrico Granata authored
Runtime errors in Python scripts were not being shown; this fix makes them print out to ease correcting errors llvm-svn: 135395
-
Chris Lattner authored
llvm-svn: 135394
-
Howard Hinnant authored
llvm-svn: 135393
-
Frits van Bommel authored
Hopefully fix some GCC-based buildbots. GCC apparently decays the array to a pointer here before overload resolution, so construct with an explicit length instead. llvm-svn: 135391
-
Frits van Bommel authored
Migrate LLVM and Clang to use the new makeArrayRef(...) functions where previously explicit non-default constructors were used. Mostly mechanical with some manual reformatting. llvm-svn: 135390
-
Frits van Bommel authored
Introduce the 'makeArrayRef(...)' family of functions, which fills a similar role for ArrayRef<> as std::make_pair() fills for std::pair<>: they return the right instantiation of ArrayRef<T> based on the types of the parameters. They mostly mirror the ArrayRef constructors, with two exceptions: * There's no function mirroring the default constructor because it wouldn't have any parameters to deduce the right ArrayRef<T> from. * There's an explicit SmallVector<T> overload in addition to the SmallVectorImpl<T> overload. Without it, the single-element overload would try to create an ArrayRef<Smallvector<T> > because it's a better match according to the overloading rules. (And both overloads are used in the current tree, so neither is redundant) llvm-svn: 135389
-
NAKAMURA Takumi authored
By default, mingw does not have _mm_alloc() nor _aligned_malloc(). llvm-svn: 135388
-
Tobias Grosser authored
llvm-svn: 135387
-
Tobias Grosser authored
llvm-svn: 135385
-
Tobias Grosser authored
llvm-svn: 135384
-
Argyrios Kyrtzidis authored
add __attribute__((objc_precise_lifetime)) to make sure that the object (and its data) will not get released before the var goes out-of-scope. rdar://9206226 llvm-svn: 135382
-
Argyrios Kyrtzidis authored
with __unsafe_unretained parameters. Emit error for strong/weak ones. rdar://9206226 llvm-svn: 135381
-
Nick Lewycky authored
neither was inline. Fixes bug introduced in r135377. llvm-svn: 135380
-
Nick Lewycky authored
llvm-svn: 135379
-
Jakob Stoklund Olesen authored
When trying to rematerialize a value before an instruction that has an early-clobber redefine of the virtual register, make sure to look up the correct value number. Early-clobber defs are moved one slot back, so getBaseIndex is needed to find the used value number. Bugpoint was unable to reduce the test case for this, see PR10388. llvm-svn: 135378
-
Nick Lewycky authored
Fixes PR10233! llvm-svn: 135377
-
Chris Lattner authored
llvm-svn: 135376
-
Chris Lattner authored
llvm-svn: 135375
-
Chris Lattner authored
update for recent api changes. I have a hard time believing that this is actually a useful example. llvm-svn: 135374
-
Chris Lattner authored
llvm-svn: 135373
-
Chris Lattner authored
llvm-svn: 135370
-
Evan Cheng authored
llvm-svn: 135369
-
Chris Lattner authored
ShadowMapEntry was. llvm-svn: 135368
-
Chris Lattner authored
llvm-svn: 135367
-
Chris Lattner authored
mallocs. llvm-svn: 135366
-
Chris Lattner authored
llvm-svn: 135365
-
Benjamin Kramer authored
llvm-svn: 135364
-
- Jul 17, 2011
-
-
Greg Clayton authored
method so process plug-ins that are requested by name can answer yes when asked if they can debug a target that might not have any file in the target. Modified the ConnectionFileDescriptor to have both a read and a write file descriptor. This allows us to support UDP, and eventually will allow us to support pipes. The ConnectionFileDescriptor class also has a file descriptor type for each of the read and write file decriptors so we can use the correct read/recv/recvfrom call when reading, or write/send/sendto for writing. Finished up an initial implementation of UDP where you can use the "udp://" URL to specify a host and port to connect to: (lldb) process connect --plugin kdp-remote udp://host:41139 This will cause a ConnectionFileDescriptor to be created that can send UDP packets to "host:41139", and it will also bind to a localhost port that can be given out to receive the connectionless UDP reply. Added the ability to get to the IPv4/IPv6 socket port number from a ConnectionFileDescriptor instance if either file descriptor is a socket. The ProcessKDP can now successfully connect to a remote kernel and detach using the above "processs connect" command!!! So far we have the following packets working: KDP_CONNECT KDP_DISCONNECT KDP_HOSTINFO KDP_VERSION KDP_REATTACH Now that the packets are working, adding new packets will go very quickly. llvm-svn: 135363
-
Nadav Rotem authored
llvm-svn: 135362
-
Oscar Fuentes authored
When building LLVM/Clang on Solaris. The generated makefiles would have an extraneous semi-colon character in them prior to this change due to the way the 'CMAKE_CXX_FLAGS' variable was defined. Simply adjusting the definition by moving the current CMAKE_CXX_FLAGS value within the quotes solves the problem. Patch by Art Haas! llvm-svn: 135361
-
Chris Lattner authored
llvm-svn: 135360
-
Chandler Carruth authored
patch, we actually move the state-machine for the value set backwards one step. This can pretty easily lead to infinite loops where we continually try to propagate a bit, succeed for one iteration, but then back up because we find an uninitialized use. A reduced test case from PR10379 is included. llvm-svn: 135359
-
Benjamin Kramer authored
llvm-svn: 135358
-
- Jul 16, 2011
-
-
Johnny Chen authored
llvm-svn: 135357
-
Francois Pichet authored
Fixes PR9875, patch by Nikola Smiljanic! llvm-svn: 135356
-
Johnny Chen authored
of the duty of having SWIG docstring features and multiline string literals embedded within. lldb.swig now %include .../SBTarget.i, instead of .../SBTarget.h. Will create other interface files and transition them over. Also update modify-python-lldb.py to better handle the trailing blank line right before the ending '"""' Python docstring delimiter. llvm-svn: 135355
-