| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 244044
|
| |
|
|
| |
llvm-svn: 244043
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The others we have in sight are
* common symbols.
* entries in SHF_MERGE sections.
They will have a substantially different treatment. It is not clear if it is
worth it putting them all in a single list just to dispatch based on the kind on
the other side.
I hope to implement common symbols soon, and then we will be in a position
to have a concrete discussion. For now this is simpler for the the implemented
features.
llvm-svn: 244042
|
| |
|
|
|
|
|
|
|
| |
Summary: Among other things, this allows -print-after-all/-print-before-all to
dump IR around this pass.
This is the AArch64 version of r243052.
llvm-svn: 244041
|
| |
|
|
| |
llvm-svn: 244040
|
| |
|
|
|
|
|
|
|
|
| |
Reviewers: loladiro, jingham, emaste, zturner, brucem
Subscribers: tberghammer, danalbert, srhines, zturner, lldb-commits
Differential Revision: http://reviews.llvm.org/D11717
llvm-svn: 244039
|
| |
|
|
| |
llvm-svn: 244038
|
| |
|
|
| |
llvm-svn: 244037
|
| |
|
|
|
|
| |
constructors, as well as functionality to determine whether a ctor initializer is a base initializer.
llvm-svn: 244036
|
| |
|
|
|
|
|
| |
This is also a step in instantiating the writer with the correct template
argument.
llvm-svn: 244035
|
| |
|
|
| |
llvm-svn: 244034
|
| |
|
|
| |
llvm-svn: 244033
|
| |
|
|
|
|
| |
ELFT::TargetEndianness already has the correct type.
llvm-svn: 244032
|
| |
|
|
| |
llvm-svn: 244031
|
| |
|
|
| |
llvm-svn: 244030
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
return StringSwitch<int>(Flags)
.Case("g", 0x1)
.Case("nzcvq", 0x2)
.Case("nzcvqg", 0x3)
.Default(-1);
...
// The _g and _nzcvqg versions are only valid if the DSP extension is
// available.
if (!Subtarget->hasThumb2DSP() && (Mask & 0x2))
return -1;
ARMARM confirms that the comment is right, and the code was wrong.
llvm-svn: 244029
|
| |
|
|
|
|
| |
intended.
llvm-svn: 244028
|
| |
|
|
| |
llvm-svn: 244027
|
| |
|
|
| |
llvm-svn: 244026
|
| |
|
|
| |
llvm-svn: 244025
|
| |
|
|
| |
llvm-svn: 244024
|
| |
|
|
| |
llvm-svn: 244023
|
| |
|
|
| |
llvm-svn: 244022
|
| |
|
|
| |
llvm-svn: 244021
|
| |
|
|
|
|
|
|
|
| |
In r242277, I updated the MachineCombiner to work with itineraries, but I
missed a call that is scheduling-model-only (the opcode-only form of
computeInstrLatency). Using the form that takes an MI* allows this to work with
itineraries (and should be NFC for subtargets with scheduling models).
llvm-svn: 244020
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Previously we kept going on partly corrupted input, which might result
in garbage being printed, or even worse, random crashes.
Rafael mentioned that this is the GNU behavior as well, but after some
discussion we both agreed it's probably better to emit a reasonable
error message and exit. As a side-effect of this commit, now we don't
rely on global state for error codes anymore. objdump was the last tool
in the toolchain which needed to be converted. Hopefully the old behavior
won't sneak into the tree again.
llvm-svn: 244019
|
| |
|
|
| |
llvm-svn: 244018
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unbreak bots.
For example of mingw-w64-g++-4.8.1,
llvm/unittests/ADT/ArrayRefTest.cpp: In member function 'virtual void {anonymous}::ArrayRefTest_AllocatorCopy_Test::TestBody()':
llvm/unittests/ADT/ArrayRefTest.cpp:56:40: internal compiler error: in count_type_elements, at expr.c:5523
} Array3Src[] = {{"hello"}, {"world"}};
^
Please submit a full bug report,
with preprocessed source if appropriate.
llvm-svn: 244017
|
| |
|
|
| |
llvm-svn: 244016
|
| |
|
|
|
|
|
| |
Add a comment explaining the current theory as to why we'd need
the -lole32 on the link line.
llvm-svn: 244015
|
| |
|
|
|
|
| |
be unused.
llvm-svn: 244014
|
| |
|
|
| |
llvm-svn: 244013
|
| |
|
|
|
|
| |
it anymore.
llvm-svn: 244012
|
| |
|
|
| |
llvm-svn: 244011
|
| |
|
|
| |
llvm-svn: 244009
|
| |
|
|
| |
llvm-svn: 244008
|
| |
|
|
| |
llvm-svn: 244007
|
| |
|
|
| |
llvm-svn: 244006
|
| |
|
|
| |
llvm-svn: 244005
|
| |
|
|
| |
llvm-svn: 244004
|
| |
|
|
| |
llvm-svn: 244003
|
| |
|
|
| |
llvm-svn: 244002
|
| |
|
|
| |
llvm-svn: 244001
|
| |
|
|
| |
llvm-svn: 244000
|
| |
|
|
| |
llvm-svn: 243999
|
| |
|
|
|
|
|
|
|
|
|
| |
As documented in the LLVM Coding Standards, indeed MSVC incorrectly asserts
on this in Debug mode. This happens when building clang with Visual C++ and
-triple i686-pc-windows-gnu on these clang regression tests:
clang/test/CodeGen/2011-03-08-ZeroFieldUnionInitializer.c
clang/test/CodeGen/empty-union-init.c
llvm-svn: 243996
|
| |
|
|
|
|
|
| |
std::copy does not work for non-trivially copyable classes when we're
copying into uninitialized memory.
llvm-svn: 243995
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Create wrapper methods in the Function class for the OptimizeForSize and MinSize
attributes. We want to hide the logic of "or'ing" them together when optimizing
just for size (-Os).
Currently, we are not consistent about this and rely on a front-end to always set
OptimizeForSize (-Os) if MinSize (-Oz) is on. Thus, there are 18 FIXME changes here
that should be added as follow-on patches with regression tests.
This patch is NFC-intended: it just replaces existing direct accesses of the attributes
by the equivalent wrapper call.
Differential Revision: http://reviews.llvm.org/D11734
llvm-svn: 243994
|
| |
|
|
|
|
|
| |
The writer is still hard coded to 64 bits le, but with this we can test for
invalid ELF files.
llvm-svn: 243993
|
| |
|
|
| |
llvm-svn: 243992
|