- Sep 02, 2015
-
-
Enrico Granata authored
llvm-svn: 246613
-
Enrico Granata authored
These are useful helpers over the low-level API of the FormattersContainer, and since we're actually going to start moving formatters into plugins, it makes sense to simplify things llvm-svn: 246612
-
Jim Ingham authored
llvm-svn: 246611
-
Eric Christopher authored
the main attribute and cache the results so we don't have to parse a single attribute more than once. This reapplies r246596 with a fix for an uninitialized class member, and a couple of cleanups and formatting changes. llvm-svn: 246610
-
Bruce Mitchener authored
Summary: When calling find_first_of and find_last_of on a single character, we can instead just call find / rfind and make our intent more clear. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12518 llvm-svn: 246609
-
Bruce Mitchener authored
Summary: This was removed from the other ABI plugins long ago. This removes a warning that was happening in this unused code as a result of adding 2 new types to Scalar.h (e_uint128 and e_sint128). Reviewers: clayborg Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12514 llvm-svn: 246608
-
David Majnemer authored
The MS incremental linker seems to inspect the timestamp written into the object file to determine whether or not it's contents need to be considered. Failing to set the timestamp to a date newer than the executable will result in the object file not participating in subsequent links. To ameliorate this, write the current time into the object file's TimeDateStamp field. llvm-svn: 246607
-
Bruce Mitchener authored
Summary: Comparing m_page_size against kInvalidPageSize was resulting in a warning about comparing integers with different signs. Since kInvalidPageSize isn't used anywhere outside of MachVMMemory.cpp, we can readily transform it into a static const vm_size_t with the correct value to avoid the sign comparison warnings. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12519 llvm-svn: 246606
-
Bruce Mitchener authored
Summary: This was previously only established within debugserver, but there is a use of the VLA extension in source/Host/macosx/Symbols.cpp, so ignore this warning globally. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12515 llvm-svn: 246605
-
David Majnemer authored
We can just ask the ObjectWriter for it's stream instead of caching around our own reference to it. No functionality change is intended. llvm-svn: 246604
-
Rafael Espindola authored
The ELF spec says: ... if any reference to or definition of a name is a symbol with a non-default visibility attribute, the visibility attribute must be propagated to the resolving symbol in the linked object. If different visibility attributes are specified for distinct references to or definitions of a symbol, the most constraining visibility attribute must be propagated to the resolving symbol in the linked object. The attributes, ordered from least to most constraining, are: STV_PROTECTED, STV_HIDDEN and STV_INTERNAL. llvm-svn: 246603
-
Peter Collingbourne authored
llvm-svn: 246602
-
Jim Ingham authored
llvm-svn: 246601
-
Hubert Tong authored
Summary: `OpaqueValueExpr`s may not have a source expression (as in the case when they are created due to a default argument error). This can cause an assertion failure in `TransformOpaqueValueExpr` during template instantiation. This patch fixes the assertion failure. Reviewers: hfinkel, rsmith Subscribers: fraggamuffin, cfe-commits Differential Revision: http://reviews.llvm.org/D11582 Patch by Rachel Craik! llvm-svn: 246600
-
Chris Bieneman authored
llvm-svn: 246599
-
Eric Christopher authored
This is failing in release mode. Revert while I figure out what's happening. This reverts commit r246596. llvm-svn: 246598
-
Enrico Granata authored
std::initializer_list is not safe to return from a function, as copies are not guaranteed to extend the lifetime of the underlying storage llvm-svn: 246597
-
Eric Christopher authored
the main attribute and cache the results so we don't have to parse a single attribute more than once. llvm-svn: 246596
-
Eric Christopher authored
llvm-svn: 246595
-
Ahmed Bougacha authored
The code introduced in r244314 assumed that EXTRACT_VECTOR_ELT only takes constant indices, but it does accept variables. Bail out for those: we can't use them, as the shuffles we want to reconstruct do require constant masks. llvm-svn: 246594
-
Rafael Espindola authored
llvm-svn: 246593
-
Kostya Serebryany authored
[tsan] workaround for a crash in deadlock detector, bug https://github.com/google/sanitizers/issues/594 llvm-svn: 246592
-
David Majnemer authored
We now have an implementation of the CRC in LLVM's libSupport. Let's consolidate around that one. llvm-svn: 246591
-
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
-