| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
raw_ostream doesn't try to do its own error handling.
Also, close the raw_ostream before checking for errors so that any
errors that occur during closing are caught by the manual check.
llvm-svn: 104882
|
|
|
|
|
|
|
| |
it to be the caller's responsibility to provide a stream in binary
mode. This fixes a layering violation and avoids an outs() call.
llvm-svn: 104878
|
|
|
|
| |
llvm-svn: 104875
|
|
|
|
| |
llvm-svn: 104873
|
|
|
|
|
|
|
|
| |
bugpoint does "Running the code generator to test for a crash" this
gets you a crash if llc goes into an infinite loop or uses up vast
amounts of memory.
llvm-svn: 104485
|
|
|
|
| |
llvm-svn: 104463
|
|
|
|
|
|
|
|
|
| |
isn't ideal if we want to be able to use another object file format.
Add a createObjectStreamer() factory method so that the correct object
file streamer can be instantiated for a given target triple.
llvm-svn: 104318
|
|
|
|
| |
llvm-svn: 104303
|
|
|
|
|
|
| |
LLVMgold.so both in both the build and install directories.
llvm-svn: 103897
|
|
|
|
|
|
| |
isn't doing lazy streaming. This also fixes a missing doFinalization call.
llvm-svn: 103774
|
|
|
|
|
|
|
|
|
|
| |
The revision history for this function is interesting, with multiple layers of
wrongness being introduced one at a time.
This fixes a weird issue where bugpoint -run-llc would suddenly exit 13 half way
through isolating a miscompilation.
llvm-svn: 103721
|
|
|
|
| |
llvm-svn: 103714
|
|
|
|
| |
llvm-svn: 103523
|
|
|
|
|
|
|
|
| |
and the others use the regular addPassesToEmitFile hook now, and
llc no longer needs a bunch of redundant code to handle the
whole-file case.
llvm-svn: 103492
|
|
|
|
|
|
|
| |
instructions as well. Added support for checking
this to the llvm-mc tester as well.
llvm-svn: 103454
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
string of features for that target. However LTO was using that string to pass
into the "create target machine" stuff. That stuff needed the feature string to
be in a particular form. In particular, it needed the CPU specified first and
then the attributes. If there isn't a CPU specified, it required it to be blank
-- e.g., ",+altivec". Yuck.
Modify the getDefaultSubtargetFeatures method to be a non-static member
function. For all attributes for a specific subtarget, it will add them in like
normal. It will also take a CPU string so that it can satisfy this horrible
syntax.
llvm-svn: 103451
|
|
|
|
|
|
| |
Remove sending duplicate of the --gcc-tool-args parameters to gcc.
llvm-svn: 103397
|
|
|
|
| |
llvm-svn: 103263
|
|
|
|
|
|
| |
when on windows instead of foo.o. Patch by Nathan Jeffords!
llvm-svn: 103150
|
|
|
|
|
|
|
|
| |
that was causing PC-relative branch targets to be
evaluated incorrectly. Also added support for
checking operand values to the llvm-mc tester.
llvm-svn: 103128
|
|
|
|
|
|
|
| |
Remove the -enable-eh option which is only used by the JIT,
and replace it with -jit-enable-eh.
llvm-svn: 102865
|
|
|
|
| |
llvm-svn: 102670
|
|
|
|
| |
llvm-svn: 102651
|
|
|
|
| |
llvm-svn: 102621
|
|
|
|
|
|
|
| |
*not* declarations to *not* be placed in the "preserve" list.
<rdar://problem/7870735>
llvm-svn: 102405
|
|
|
|
|
|
| |
operands correctly.
llvm-svn: 102227
|
|
|
|
|
|
| |
memory operands rather than immediate operands.
llvm-svn: 102217
|
|
|
|
|
|
|
| |
flags, to determine whether or not the operand is
a memory operand.
llvm-svn: 102158
|
|
|
|
| |
llvm-svn: 101789
|
|
|
|
| |
llvm-svn: 101656
|
|
|
|
|
|
|
|
| |
to CallGraphSCCPass's instead of passing around a
std::vector<CallGraphNode*>. No functionality change,
but now we have a much tidier interface.
llvm-svn: 101558
|
|
|
|
|
|
| |
know it at the time.
llvm-svn: 101439
|
|
|
|
| |
llvm-svn: 101431
|
|
|
|
| |
llvm-svn: 101430
|
|
|
|
|
|
| |
to expect them this way, to fix srcdir!=objdir builds.
llvm-svn: 101414
|
|
|
|
|
|
|
|
|
|
| |
native linking export files, including running sed to prepend underscores
on darwin, and make use of it in libLTO and libEnhancedDisassembly.
Remove the leading underscores from library export files so that they
work with the new EXPORTED_SYMBOL_FILE support.
llvm-svn: 101399
|
|
|
|
| |
llvm-svn: 101365
|
|
|
|
| |
llvm-svn: 101338
|
|
|
|
|
|
| |
characters long.
llvm-svn: 101336
|
|
|
|
| |
llvm-svn: 101234
|
|
|
|
| |
llvm-svn: 101230
|
|
|
|
| |
llvm-svn: 101228
|
|
|
|
|
|
|
| |
bit (we're not trying to build a shared library yet) and generating
the X86GenEDInfo.inc and ARMGenEDInfo.inc files as necessary.
llvm-svn: 101188
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
code. It used to #include the enhanced disassembly
information for the targets it supported straight
out of lib/Target/{X86,ARM,...} but now it uses a
new interface provided by MCDisassembler, and (so
far) implemented by X86 and ARM.
Also removed hacky #define-controlled initialization
of targets in edis. If clients only want edis to
initialize a limited set of targets, they can set
--enable-targets on the configure command line.
llvm-svn: 101179
|
|
|
|
| |
llvm-svn: 101177
|
|
|
|
|
|
| |
patch by Marius Wachtler!
llvm-svn: 101160
|
|
|
|
|
|
|
|
| |
after edis. Really, there ought to be some
mechanism to ensure that PARALLEL_DIRS get built
after DIRS.
llvm-svn: 101095
|
|
|
|
|
|
|
|
|
|
|
| |
libEnhancedDisassembly, so we now build the
static library in all cases (although the shared
library is only built when requested/possible).
Also, fixed a bug where edis wasn't properly
initializing the targets it uses.
llvm-svn: 101072
|
|
|
|
|
|
| |
flags work properly when EDIS_VERSION is defined
llvm-svn: 101063
|
|
|
|
|
|
|
|
|
|
|
| |
time I use the LIBS variable, which is not subject
to a %.a -> -l% transformation, to link llvm-mc
against libEnhancedDisassembly.
llvm-mc -edis works the same as llvm-mc
-disassemble, but outputs tokens and operands.
llvm-svn: 101058
|