- Jul 23, 2010
-
-
Fariborz Jahanian authored
radar 6507158. llvm-svn: 109261
-
Stuart Hastings authored
llvm-svn: 109258
-
Eli Friedman authored
fixes crashes on both valid and invalid code. The diagnostic here could potentially be improved, but it's good enough as-is. llvm-svn: 109257
-
Fariborz Jahanian authored
Finishes off radar 6507158. llvm-svn: 109256
-
Benjamin Kramer authored
llvm-svn: 109254
-
Bruno Cardoso Lopes authored
llvm-svn: 109248
-
Ted Kremenek authored
Dataflow solver: Don't overrwite the initial value of a block with top unless new values are available. Patch by Simone Pellegrini! llvm-svn: 109243
-
Dan Gohman authored
are not demanded. This often allows the anyext to be folded away. llvm-svn: 109242
-
Greg Clayton authored
class is a templatized class that allows you to have a cleanup function called on a data value of type T when the value is set or when the object goes out of scope. It has support for very rudimentary invalid value detection that can be enabled by using the appropriate constructor. Anyone with template experience that can see ways of improving this class please let me know. The example code shows a few typical scenarios in which I would like to use it. It is currently coded with simple type T values in mind (integer file descriptors, pointers, etc), but I am sure some specialization might help out the class for more complex types. There is a lot of documentation including examples in the CleanUp.h header file. llvm-svn: 109239
-
Greg Clayton authored
class citizen on the StopInfo class. llvm-svn: 109235
-
Dan Gohman authored
llvm-svn: 109234
-
Douglas Gregor authored
them as such. Type::is(Signed|Unsigned|)IntegerType() now return false for vector types, and new functions has(Signed|Unsigned|)IntegerRepresentation() cover integer types and vector-of-integer types. This fixes a bunch of latent bugs. Patch from Anton Yartsev! llvm-svn: 109229
-
Greg Clayton authored
ThreadCancel in Host::WillTerminate g_monitor_thread may be blocked on a call to pthread_cond_wait (for example, line 640). Now, by default, when a cancellation request is serviced g_monitor_thread will again own the mutex guarding the condition variable it was waiting on. This causes the call to SetValue in Host::WillTerminate to hit a deadlock. The call to SetValue does not appear to be needed, so removing it solves the issue. Patch from Stephen Wilson. llvm-svn: 109228
-
Greg Clayton authored
a segfault when calling pthread_cancel. Also, sets m_read_thread_enabled if the thread is actually spawned. Patch from Stephen Wilson. llvm-svn: 109227
-
Greg Clayton authored
llvm-svn: 109226
-
Zhongxing Xu authored
llvm-svn: 109225
-
Gabor Greif authored
llvm-svn: 109224
-
Eric Christopher authored
I'll try to track down why a bit later. llvm-svn: 109223
-
Gabor Greif authored
llvm-svn: 109222
-
Eric Christopher authored
llvm-svn: 109221
-
Gabor Greif authored
is not a good idea. The codebase does not depend in this any more, and it may introduce hidden runtime cost. If you get compile errors, please dereference your iterator before passing to cast<> (and friends). Also: please consider caching the result of operator* and reusing that instead of dereferencing many times. llvm-svn: 109220
-
Bill Wendling authored
llvm-svn: 109219
-
Zhongxing Xu authored
llvm-svn: 109218
-
Mikhail Glushenkov authored
llvm-svn: 109217
-
Mikhail Glushenkov authored
llvm-svn: 109216
-
Mikhail Glushenkov authored
llvmc can be now compiled with llvm-gcc on Windows. llvm-svn: 109215
-
Greg Clayton authored
Added Mach exception stop descriptions. The chunk of code I just added needs to be placed into a utility location so it can be used by ProcessMacOSX and debugserver. llvm-svn: 109214
-
Chris Lattner authored
with an existing allocator. The interesting use case of this is that it allows "StringMap<whatever, BumpPtrAllocator&>" for when you want to allocate out of a preexisting bump pointer allocator owned by someone else. llvm-svn: 109213
-
Chris Lattner authored
llvm-svn: 109212
-
Zhongxing Xu authored
llvm-svn: 109211
-
Zhongxing Xu authored
llvm-svn: 109210
-
Sean Callanan authored
to be executed by the inferior. This required explicit support from RecordingMemoryManager for finding the address range belonging to a particular function. Also fixed a bug in DisassemblerLLVM where the disassembler assumed there was an AddressRange available even when it was NULL. llvm-svn: 109209
-
Zhongxing Xu authored
llvm-svn: 109208
-
Bruno Cardoso Lopes authored
llvm-svn: 109207
-
Bruno Cardoso Lopes authored
llvm-svn: 109206
-
Eric Christopher authored
llvm-svn: 109205
-
Bruno Cardoso Lopes authored
Add complete assembler support for FMA3 instructions, with descriptions and encodings taken from the AVX manual llvm-svn: 109204
-
Douglas Gregor authored
ASTUnit/CXTranslationUnit. We can't actually use this preamble yet, however. llvm-svn: 109202
-
Dale Johannesen authored
SSE, so we can't return floating point values if this is disabled. Detect this error for clang. With SSE1 only, f64 is a problem; it can be done, but neither llvm-gcc nor clang has ever generated correct code for it. Since nobody noticed this I think it's OK to treat it as an error for now. This also handles SSE-sized vectors of floating point. 8207686, 8204109. llvm-svn: 109201
-
Sean Callanan authored
llvm-svn: 109200
-