- Sep 02, 2015
-
-
David Majnemer authored
COFF sections are accompanied with an auxiliary symbol which includes a checksum. This checksum used to be filled with just zero but this seems to upset LINK.exe when it is processing a /INCREMENTAL link job. Instead, fill the CheckSum field with the JamCRC of the section contents. This matches MSVC's behavior. This fixes PR19666. N.B. A rather simple implementation of JamCRC is given. It implements a byte-wise calculation using the method given by Sarwate. There are implementations with higher throughput like slice-by-eight and making use of PCLMULQDQ. We can switch to one of those techniques if it turns out to be a significant use of time. llvm-svn: 246590
-
Nico Weber authored
llvm-svn: 246589
-
Nico Weber authored
llvm-svn: 246588
-
Sanjay Patel authored
This is a follow-on suggested by: http://reviews.llvm.org/D12154 ( http://reviews.llvm.org/rL245729 ) http://reviews.llvm.org/D10662 ( http://reviews.llvm.org/rL245075 ) This makes the attribute name match most of the existing lowering logic and regression test expectations. But the current use of this attribute is inconsistent; see the FIXME comment for "allowsMisalignedMemoryAccesses()". That change will result in functional changes and should be coming soon. llvm-svn: 246585
-
Peter Collingbourne authored
Parallelism can be enabled using a new plugin option, jobs=N, where N is the number of code generation threads. Differential Revision: http://reviews.llvm.org/D12308 llvm-svn: 246584
-
Rafael Espindola authored
llvm-svn: 246583
-
Richard Smith authored
r246546, with a workaround for an MSVC 2013 miscompile and an MSVC 2015 rejects-valid. Original commit message: [modules] Rework serialized DeclContext lookup table management. Instead of walking the loaded ModuleFiles looking for lookup tables for the context, store them all in one place, and merge them together if we find we have too many (currently, more than 4). If we do merge, include the merged form in our serialized lookup table, so that downstream readers never need to look at our imports' tables. This gives a huge performance improvement to builds with very large numbers of modules (in some cases, more than a 2x speedup was observed). llvm-svn: 246582
-
Rafael Espindola authored
llvm-svn: 246581
-
Enrico Granata authored
llvm-svn: 246580
-
Zachary Turner authored
llvm-svn: 246579
-
Zachary Turner authored
llvm-svn: 246578
-
Rafael Espindola authored
llvm-svn: 246577
-
-
Oleksiy Vyalov authored
http://reviews.llvm.org/D12510 llvm-svn: 246574
-
Eli Bendersky authored
llvm-svn: 246573
-
Benjamin Kramer authored
This was last used by the pre-MC object emitter and has been dead for quite a while. We have better ways to emit endian-dependent stuff now. llvm-svn: 246571
-
Zachary Turner authored
llvm-svn: 246570
-
Zachary Turner authored
https://llvm.org/pr24600 llvm-svn: 246569
-
Enrico Granata authored
Historically, data formatters all exist in a global repository (the category map) On top of that, some formatters can be "hardcoded" when the conditions under which they apply are not expressible as a typename (or typename regex) This change paves the way to move formatters into per-language buckets such that the C++ plugin is responsible for ownership of the C++ formatters, and so on The advantages of this are: a) language formatters only get created when they might apply b) formatters for a language are clearly owned by the matching language plugin The current model is one of static instantiation, that is a language knows the full set of formatters it vends and that is only asked-for once, and then handed off to the FormatManager In a future revision it might be interesting to add similar ability to the language runtimes, and monitor for certain shared library events to add even more library-specific formatters No formatters are moved as part of this change, so practically speaking this is NFC llvm-svn: 246568
-
Tobias Grosser authored
By just removing dimensions (and the constraints they are involved in) we may loose information about the dimensions we do not remove. By instead using project_out, we are sure all constraints on the outer dimensions are preserved. No test case, as this error condition is very unlikely to be triggered by isl's current code. We still 'fix' this, as isl gives little guarantees regarding the behavior of remove_divs. llvm-svn: 246567
-
Reid Kleckner authored
llvm-svn: 246566
-
Eric Christopher authored
llvm-svn: 246565
-
Hans Wennborg authored
Differential Revision: http://reviews.llvm.org/D12534 llvm-svn: 246564
-
Sean Callanan authored
the first type we find and failing if it can't be imported. llvm-svn: 246563
-
Sean Callanan authored
llvm-svn: 246562
-
Artem Belevich authored
-only-needed -- link in only symbols needed by destination module -internalize -- internalize linked symbols Differential Revision: http://reviews.llvm.org/D12459 llvm-svn: 246561
-
Ed Maste authored
llvm-svn: 246559
-
Adrian McCarthy authored
Differential Revision: http://reviews.llvm.org/D12507 llvm-svn: 246558
-
Chaoren Lin authored
Summary: Update to http://reviews.llvm.org/rL243618. Reviewers: jaydeep, clayborg Subscribers: labath, tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D12420 llvm-svn: 246557
-
Davide Italiano authored
Before we incorrectly ignored it. llvm-svn: 246556
-
Ahmed Bougacha authored
This matches the ARM behavior. In both cases, the register is part of the optional Performance Monitors extension, so, add the feature, and enable it for the A-class processors we support. Differential Revision: http://reviews.llvm.org/D12425 llvm-svn: 246555
-
David Majnemer authored
There are occasions where it is useful to consider the entirety of the contents of a section. For example, compressed debug info needs the entire section available before it can compress it and write it out. The compressed debug info scenario was previously implemented by mirroring the implementation of writeSectionData in the ELFObjectWriter. Instead, allow the output stream to be swapped on demand. This lets callers redirect the output stream to a more convenient location before it hits the object file. No functionality change is intended. Differential Revision: http://reviews.llvm.org/D12509 llvm-svn: 246554
-
Davide Italiano authored
llvm-svn: 246553
-
- Sep 01, 2015
-
-
Tobias Grosser authored
llvm-svn: 246552
-
Igor Breger authored
Differential Revision: http://reviews.llvm.org/D12526 llvm-svn: 246551
-
Angel Garcia Gomez authored
Summary: Reduced the amount of wrong conversions of this check. Reviewers: klimek Subscribers: alexfh, cfe-commits Differential Revision: http://reviews.llvm.org/D12530 llvm-svn: 246550
-
Pavel Labath authored
When detaching, we need to detach from all threads of the inferior and not just the main one. Without this, a multi-threaded inferior would usually crash once the server exits. llvm-svn: 246549
-
Aaron Ballman authored
Add a new frontend warning for referencing members from the handler of a constructor or destructor function-try-block, which is UB in C++. This corresponds to the CERT secure coding rule ERR53-CPP. llvm-svn: 246548
-
Sanjay Patel authored
llvm-svn: 246547
-
Aaron Ballman authored
Reverting r246497 (which requires also reverting r246524 and r246521 to avoid merge conflicts). It broke the build on MSVC 2015. It also broke an MSVC 2013 bot with testing issues. llvm\tools\clang\lib\serialization\MultiOnDiskHashTable.h(117): error C2065: 'Files': undeclared identifier http://bb.pgr.jp/builders/ninja-clang-i686-msc18-R/builds/2917 llvm-svn: 246546
-