- Oct 14, 2015
-
-
Richard Smith authored
to get away with this because llvm/Support/GCOV.h was an implementation detail of the llvm-gcov tool, but it's now being used by FDO. llvm-svn: 250258
-
Ekaterina Romanova authored
llvm-svn: 250257
-
Eric Fiselier authored
llvm-svn: 250256
-
Eric Fiselier authored
llvm-svn: 250255
-
Evgeniy Stepanov authored
C++ macros and CMake options that specify the default ABI version of the library, and can be overridden to pick up new ABI-changing features. llvm-svn: 250254
-
Todd Fiala authored
* ArchSpec::MergeFrom() would erroneously promote an unspecified unknown to a specified unknown when both the ArchSpec and the merged in ArchSpec were both unspecified unknowns. This no longer happens, which fixes issues with global module cache lookup in some situations. * Added ArchSpec::DumpTriple(Stream&) that now properly prints unspecified unknowns as '*' and specified unknows as 'unknown'. This makes it trivial to tell the difference between the two. Converted printing code over ot using DumpTriple() rather than building from scratch. * Fixed up a couple places that were not guaranteeing that an unspecified unknown was recorded as such. llvm-svn: 250253
-
Ekaterina Romanova authored
definition, added warnings, PS4 defaults, and Driver changes needed for our compiler. A patch by Filipe Cabecinhas, Pierre Gousseau and Katya Romanova! Differential Revision: http://reviews.llvm.org/D13482 llvm-svn: 250252
-
Sanjoy Das authored
Instead of `dyn_cast` ing to `SCEVConstant` and checking the contained `ConstantInteger. llvm-svn: 250251
-
Argyrios Kyrtzidis authored
[Sema/objc] When checking for unimplemented methods treat methods from class extensions as continuation of the class interface. llvm-svn: 250250
-
Bruce Mitchener authored
Summary: Local definition of ~PlatformNetBSD() results with a compiler error. Patch by Kamil Rytarowski. Thanks! Reviewers: joerg, brucem Subscribers: brucem, lldb-commits Differential Revision: http://reviews.llvm.org/D13707 llvm-svn: 250249
-
Greg Clayton authored
llvm-svn: 250248
-
Richard Smith authored
Previously, this resulted in us declaring a template for static_assert emulation within the 'extern "C"' context, which is ill-formed. llvm-svn: 250247
-
Chris Bieneman authored
[CMake]Getting rid of references to LLVM_SUBMIT_VERSION and LLVM_SUBMIT_SUBVERSION in favor of LLVM_VERSION_MAJOR and LLVM_VERSION_MINOR. LLVM_SUBMIT_VERSION and LLVM_SUBMIT_SUBVERSION are commonly used variable names in the autoconf build system. They seem to have leeched into clang's CMake in a few places, and should just be replaced by the LLVM_VERSION_* variables where appropriate. llvm-svn: 250246
-
Chris Bieneman authored
This also adds LLVM_LTO_VERSION_OFFSET to support functional equivalence to autoconf. llvm-svn: 250245
-
Chris Bieneman authored
This is in matching with the autoconf build system. llvm-svn: 250244
-
Hal Finkel authored
We already have a variable, R, that equals S + A. Use it. NFC. llvm-svn: 250243
-
Diego Novillo authored
This removes old remnants from the gcov reader. I missed these when I re-wrote it recently. llvm-svn: 250242
-
Diego Novillo authored
Binary encoded profiles used to encode all function names inline at every reference. This is clearly suboptimal in terms of space. This patch fixes this by adding a name table to the header of the file. llvm-svn: 250241
-
Cong Hou authored
Update MachineBranchProbabilityInfo::normalizeEdgeWeights to make sure there is no zero weight in the output, and also add a missing test for JumpThreading. The test is for the patch in http://reviews.llvm.org/D10979 but was missing when committing that patch. llvm-svn: 250240
-
Richard Smith authored
llvm-svn: 250239
-
Eric Fiselier authored
llvm-svn: 250238
-
Devin Coughlin authored
Prevent invalidation of `this' when a method is const; fixing PR 21606. A patch by Sean Eveson! Differential Revision: http://reviews.llvm.org/D13099 llvm-svn: 250237
-
Richard Smith authored
llvm-svn: 250236
-
Eric Fiselier authored
Summary: Hi all, This patch is a successor to D11963. However it has changed dramatically and I felt it would be best to start a new review thread. Please read the design documentation added in this patch for a description of how it works. Reviewers: mclow.lists, danalbert, jroelofs, EricWF Subscribers: vkalintiris, rnk, ed, espositofulvio, asl, eugenis, cfe-commits Differential Revision: http://reviews.llvm.org/D13407 llvm-svn: 250235
-
David Majnemer authored
We forgot to append the terminatepad's arguments which resulted in us treating the old terminatepad as an argument to the new terminatepad causing us to crash immediately. Instead, add the old terminatepad's arguments to the new terminatepad. This fixes PR25155. llvm-svn: 250234
-
Dan Gohman authored
llvm-svn: 250233
-
Vedant Kumar authored
llvm-svn: 250231
-
Hal Finkel authored
The comment was right, but the encoding was wrong (and, it seems, I forgot a test case for the .plt stub). llvm-svn: 250230
-
Davide Italiano authored
This fixes an oversight from my previous commit. Reported by Rafael Espindola! llvm-svn: 250229
-
Richard Smith authored
(and in this case isn't even using anything from those headers). llvm-svn: 250228
-
Rui Ueyama authored
llvm-svn: 250227
-
Davide Italiano authored
llvm-svn: 250225
-
Chad Rosier authored
llvm-svn: 250224
-
Davide Italiano authored
The documentation says: "You may separate commands using semicolons", so they seem to be optional. Differential Revision: http://reviews.llvm.org/D13703 llvm-svn: 250223
-
Kevin Enderby authored
ArchiveMemberHeader, suggestion by Rafael Espíndola. Also The clang-x86-win2008-selfhost bot still does not like the malformed-machos 00000031.a test, so removing it for now. All the other bots are fine with it however. llvm-svn: 250222
-
Aaron Ballman authored
Exposing an existing checker under the name cert-err61-cpp, as it corresponds to the CERT C++ secure coding rule: https://www.securecoding.cert.org/confluence/display/cplusplus/ERR61-CPP.+Catch+exceptions+by+lvalue+reference llvm-svn: 250221
-
Hal Finkel authored
We'd miss the nop if it really did come right at the end of the buffer (nice off-by-one error). llvm-svn: 250220
-
Joseph Tremoulet authored
Summary: Emit the handler and clause locations immediately after the standard xdata. Clauses are emitted in the same order and format used to communiate them to the CLR Execution Engine. Add a lit test to verify correct table generation on a small but interesting example function. Reviewers: majnemer, andrew.w.kaylor, rnk Subscribers: pgavlin, AndyAyers, llvm-commits Differential Revision: http://reviews.llvm.org/D13451 llvm-svn: 250219
-
Duncan P. N. Exon Smith authored
One of the changes in lib/Target/AMDGPU/AMDGPUMCInstLower.cpp was a new one. Previously, bundle iterators and single-instruction iterators could be compared to each other (comparing on underlying pointers). I changed a comparison from using `MBB->end()` to using `MBB->instr_end()`, since both end iterators should point at the some place anyway. I don't think the implicit conversion between the two iterator types is a good idea since it's fairly easy to accidentally compare to the wrong thing (they aren't always end iterators). Otherwise I would have just added the conversion. Even with that, no there should be functionality change here. llvm-svn: 250218
-
Tobias Grosser authored
We harden one test case by ensuring no additional stores may possibly be introduced between the stores we check for and the basic block terminator statements. We also add a test case for the situation where a value that is passed from a non-affine region to a PHI node does not dominate the exit of the non-affine region. This case has come up in patch reviews, so we make sure it is properly handled today and in the future. llvm-svn: 250217
-