- Apr 30, 2015
-
-
Filipe Cabecinhas authored
Summary: Bug found with AFL fuzz. Reviewers: rafael, dexonsmith Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9361 llvm-svn: 236200
-
Owen Anderson authored
At the least it should be guarded by some kind of target hook. It also introduced catastrophic compile time and code quality regressions on some out of tree targets (test case still being reduced/sanitized). Sanjay agreed with reverting this patch until these issues can be resolved. llvm-svn: 236199
-
Alexey Bataev authored
Fixed initialization of 'single' region completion + changed type of the third argument of __kmpc_copyprivate() runtime function to size_t. llvm-svn: 236198
-
Richard Smith authored
llvm-svn: 236197
-
Hans Wennborg authored
llvm-svn: 236196
-
Alexey Samsonov authored
Darwin doesn't yet allow to print stack trace, as it lacks the slow unwinder. This is one more attempt to fix vptr.cpp on Mac OS X. llvm-svn: 236195
-
Richard Smith authored
llvm-svn: 236194
-
Filipe Cabecinhas authored
Bug found with AFL fuzz. llvm-svn: 236193
-
Hans Wennborg authored
This will cause hot nodes to appear closer to the root. The literature says building the tree like this makes it a near-optimal (in terms of search time given key frequencies) binary search tree. In LLVM's case, we can do up to 3 comparisons in each leaf node, so it might be better to opt for lower tree height in some cases; that's something to look into in the future. Differential Revision: http://reviews.llvm.org/D9318 llvm-svn: 236192
-
Richard Smith authored
llvm-svn: 236191
-
Filipe Cabecinhas authored
Make it an error instead. Bug found with AFL fuzz. llvm-svn: 236190
-
Rafael Espindola authored
Saves finding the MCSectionData just to do a map lookup. llvm-svn: 236189
-
Sean Callanan authored
a FileID corresponds to a real file or to a memory buffer. The old method didn't work when Clang was built Release, which meant it wasn't a very good method at all. llvm-svn: 236188
-
Rafael Espindola authored
llvm-svn: 236187
-
Ahmed Bougacha authored
llvm-svn: 236186
-
Chaoren Lin authored
Reviewers: vharron, zturner, flackr Subscribers: tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D9177 llvm-svn: 236185
-
NAKAMURA Takumi authored
r236155 missed the suffix in "@llvm.memcpy.p0i8.p0i8.i32". llvm-svn: 236184
-
Pete Cooper authored
This was breaking sqlite with the machine verifier because operand 0 was a def according to tablegen, but didn't have the 'isDef' flag set. Looking at the ISA, its clear that this operand is a source as writing to st(0) is implicit. So move the operand to the correct place in the td file. rdar://problem/20751584 llvm-svn: 236183
-
Richard Smith authored
llvm-svn: 236182
-
Richard Smith authored
llvm-svn: 236181
-
Jonathan Roelofs authored
llvm-svn: 236180
-
Eric Christopher authored
by erasing the soft-float target feature if the rest of the front end added it because of defaults or the soft float option. Add some testing for some of the targets that implement this hack. llvm-svn: 236179
-
Richard Smith authored
llvm-svn: 236178
-
Zachary Turner authored
Apparently va_list is literally a char* on Windows. llvm-svn: 236177
-
Richard Smith authored
Modules builds fundamentally have a non-linear macro history. In the interest of better source fidelity, represent the macro definition information faithfully: we have a linear macro directive history within each module, and at any point we have a unique "latest" local macro directive and a collection of visible imported directives. This also removes the attendent complexity of attempting to create a correct MacroDirective history (which we got wrong in the general case). No functionality change intended. llvm-svn: 236176
-
David Blaikie authored
llvm-svn: 236175
-
Zachary Turner authored
The purpose of this class is so that GetLogIfAllCategoriesSet can always return an instance of some class, whether it be a real logging class or a "null" class, which ignores messages. Code that is littered with if statements that only log if the pointer is non-null can get very unwieldy very quickly, so this should help code readability in such circumstances. Since I'm in this code anyway, I'm also deleting the PrintfWithFlags methods, as well as all the flags, since they appear to be dead code that have been superceded by newer mechanisms and all the flags are simply ignored. llvm-svn: 236174
-
Rick Foos authored
Summary: Hexagon is being updated, but there is not enough to pass these tests. These sections are now on top of Colin's list. Test Plan: Ran changes on hexagon-build-03. Reviewers: colinl, rfoos Reviewed By: rfoos Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D9356 llvm-svn: 236173
-
Reid Kleckner authored
32-bit x86 MSVC-style exceptions are functionaly similar to 64-bit, but they take no arguments. Instead, they implicitly use the value of EBP passed in by the caller as a pointer to the parent's frame. In LLVM, we can represent this as llvm.frameaddress(1), and feed that into all of our calls to llvm.framerecover. The next steps are: - Add an alloca to the fs:00 linked list of handlers - Add something like llvm.sjlj.lsda or generalize it to store in the alloca - Move state number calculation to WinEHPrepare, arrange for FunctionLoweringInfo to call it - Use the state numbers to insert explicit loads and stores in the IR llvm-svn: 236172
-
Sanjay Patel authored
Move the fold introduced in r236031: http://reviews.llvm.org/rL236031 to its own helper function, so we can use it for other binops. This is a preliminary step before partially solving: https://llvm.org/bugs/show_bug.cgi?id=21768 https://llvm.org/bugs/show_bug.cgi?id=23116 llvm-svn: 236171
-
Jason Molenda authored
is a Mach-O file and it is a Mach-O core file, activate the ProcessMachCore plugin. <rdar://problem/20739989> llvm-svn: 236170
-
Jason Molenda authored
llvm-svn: 236169
-
Justin Bogner authored
Fix a couple of new tests that were reverted because they were causing intermittent test failures since they were writing the same default "default.profraw" file. Fixed by creating a unique directory and running tests in that directory. Patch by Teresa Johnson. Thanks! llvm-svn: 236168
-
Reid Kleckner authored
llvm-svn: 236167
-
Pat Gavlin authored
llvm-svn: 236166
-
Alexey Samsonov authored
llvm-svn: 236165
-
Chris Bieneman authored
llvm-svn: 236164
-
Chris Bieneman authored
llvm-svn: 236163
-
David Blaikie authored
llvm-svn: 236161
-
David Blaikie authored
[opaque pointer type] Pass GlobalAlias the actual pointer type rather than decomposing it into pointee type + address space Many of the callers already have the pointer type anyway, and for the couple of callers that don't it's pretty easy to call PointerType::get on the pointee type and address space. This avoids LLParser from using PointerType::getElementType when parsing GlobalAliases from IR. llvm-svn: 236160
-