History log of /external/llvm/tools/lli/lli.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cd81d94322a39503e4a3e87b6ee03d4fcb3465fb 21-Jul-2014 Stephen Hines <srhines@google.com> Update LLVM for rebase to r212749.

Includes a cherry-pick of:
r212948 - fixes a small issue with atomic calls

Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/tools/lli/lli.cpp
dce4a407a24b04eebc6a376f8e62b41aaa7b071f 29-May-2014 Stephen Hines <srhines@google.com> Update LLVM for 3.5 rebase (r209712).

Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/tools/lli/lli.cpp
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/tools/lli/lli.cpp
5f7a5773e679107565f9da79c26bb558d5e9c051 29-Oct-2013 Andrew Kaylor <andrew.kaylor@intel.com> Cleaning up comments in lli

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193571 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
47b7fd54481d25aff90bfe772d54435bbea0908f 29-Oct-2013 Andrew Kaylor <andrew.kaylor@intel.com> Adding a workaround for __main linking with remote lli and Cygwin/MinGW

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193570 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
730e3c69952d4f26a0c51b55902ac55c88238ee8 28-Oct-2013 Alp Toker <alp@nuanti.com> Fix the lli --extra-module value_desc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193552 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
61abf1550f6b12b066c959512ab10ce0720df207 28-Oct-2013 Andrew Kaylor <andrew.kaylor@intel.com> Standardizing lli's extra module command line option

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193544 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
4bad07fbec9d42769fdc5cea891f8cb7a3b284d5 12-Oct-2013 Andrew Kaylor <andrew.kaylor@intel.com> Fixing problems in lli's RemoteMemoryManager.

This fixes a problem from a previous check-in where a return value was omitted.

Previously the remote/stubs-remote.ll and remote/stubs-sm-pic.ll tests were reporting passes, but they should have been failing. Those tests attempt to link against an external symbol and remote symbol resolution is not supported. The old RemoteMemoryManager implementation resulted in local symbols being used for resolution and the child process crashed but the test didn't notice. With this check-in remote symbol resolution fails, and so the test (correctly) fails.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192514 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
eb59e4d5ac15604643540b3aa1e5628d2d440dfc 08-Oct-2013 Andrew Kaylor <andrew.kaylor@intel.com> Removing unintended code block from lli

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192205 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
b868e9101c138016aad5bd910b67f40a3213d6fc 04-Oct-2013 Andrew Kaylor <andrew.kaylor@intel.com> Adding support and tests for multiple module handling in lli

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191938 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
d34a4d60f04f60352c1f388a129d8108584177d0 02-Oct-2013 Richard Smith <richard-llvm@metafoo.co.uk> Pass the resolved lli-child-target executable name to execv, rather than
searching $PATH for it then blindly executing it from $PWD anyway.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191856 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
f18815607a93f2b9d498aad4c8e13d1265e204ef 02-Oct-2013 Andrew Kaylor <andrew.kaylor@intel.com> Clean up lli execution code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191845 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
0ab5c6c16b1b09d76c3ba2d70443b10bcc26169c 02-Oct-2013 Andrew Kaylor <andrew.kaylor@intel.com> Adding out-of-process execution support to lli.

At this time only Unix-based systems are supported. Windows has stubs and should re-route to the simulated mode.

Thanks to Sriram Murali for contributions to this patch.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191843 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
8e9ec015348c5419b905c2ca6e39534429eda073 01-Oct-2013 Andrew Kaylor <andrew.kaylor@intel.com> Adding multiple module support for MCJIT.

Tests to follow.

PIC with small code model and EH frame handling will not work with multiple modules. There are also some rough edges to be smoothed out for remote target support.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191722 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
e16e687034fb416f9e6f90d8e169cc8633c34f35 28-Jun-2013 Daniel Malea <daniel.malea@intel.com> Add flag to lli to enable debugging of IR when used with MCJIT.
- warn users when -debug-ir is used with old JIT engine (only partial debug
info is available)

For example, to debug an IR file with GDB (that supports JIT registration), do:

$ gdb --args lli -use-mcjit -debug-ir testcase.ll
(gdb) break main
(gdb) run
<Process continues to lli main>
(gdb) continue
<Process continues to testcase.ll main()
(gdb) step
<Now stepping through the LLVM IR in testcase.ll>



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185197 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
a73a6141cac0091a2121fcbf55b78d232680317c 19-May-2013 Tim Northover <t.p.northover@gmail.com> Print uint64_t -debug text correctly on 32-bit hosts

On 32-bit hosts %p can print garbage when given a uint64_t, we should
use %llx instead. This only affects the output of the debugging text
produced by lli.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182209 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
13a3cf192887233fb9452ec5b7f841e4652c33c7 14-May-2013 Filip Pizlo <fpizlo@apple.com> SectionMemoryManager shouldn't be a JITMemoryManager. Previously, the
EngineBuilder interface required a JITMemoryManager even if it was being used
to construct an MCJIT. But the MCJIT actually wants a RTDyldMemoryManager.
Consequently, the SectionMemoryManager, which is meant for MCJIT, derived
from the JITMemoryManager and then stubbed out a bunch of JITMemoryManager
methods that weren't relevant to the MCJIT.

This patch fixes the situation: it teaches the EngineBuilder that
RTDyldMemoryManager is a supertype of JITMemoryManager, and that it's
appropriate to pass a RTDyldMemoryManager instead of a JITMemoryManager if
we're using the MCJIT. This allows us to remove the stub methods from
SectionMemoryManager, and make SectionMemoryManager a direct subtype of
RTDyldMemoryManager.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181820 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
e4496548155ba6606f107fbdc10ea17e58fd3401 07-May-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove exception handling support from the old JIT.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
7fc162f893d67ffd96fdb19e2eb9a03b4621f0c0 26-Mar-2013 Chandler Carruth <chandlerc@gmail.com> Split out the IRReader header and the utility functions it provides into
its own library. These functions are bridging between the bitcode reader
and the ll parser which are in different libraries. Previously we didn't
have any good library to do this, and instead played fast and loose with
a "header only" set of interfaces in the Support library. This really
doesn't work well as evidenced by the recent attempt to add timing logic
to the these routines.

As part of this, make them normal functions rather than weird inline
functions, and sink the implementation into the library. Also clean up
the header to be nice and minimal.

This requires updating lots of build system dependencies to specify that
the IRReader library is needed, and several source files to not
implicitly rely upon the header file to transitively include all manner
of other headers.

If you are using IRReader.h, this commit will break you (the header
moved) and you'll need to also update your library usage to include
'irreader'. I will commit the corresponding change to Clang momentarily.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177971 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
0b8c9a80f20772c3793201ab5b251d3520b9cea3 02-Jan-2013 Chandler Carruth <chandlerc@gmail.com> Move all of the header files which are involved in modelling the LLVM IR
into their new header subdirectory: include/llvm/IR. This matches the
directory structure of lib, and begins to correct a long standing point
of file layout clutter in LLVM.

There are still more header files to move here, but I wanted to handle
them in separate commits to make tracking what files make sense at each
layer easier.

The only really questionable files here are the target intrinsic
tablegen files. But that's a battle I'd rather not fight today.

I've updated both CMake and Makefile build systems (I think, and my
tests think, but I may have missed something).

I've also re-sorted the includes throughout the project. I'll be
committing updates to Clang, DragonEgg, and Polly momentarily.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
f010c464a11444733ec67e31aace8bcebeaf2588 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Sort the #include lines for tools/...

Again, tools are trickier to pick the main module header for than
library source files. I've started to follow the pattern of using
LLVMContext.h when it is included as a stub for program source files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169252 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
257a009332a62927bed91c6862730f43ef89d429 27-Nov-2012 Andrew Kaylor <andrew.kaylor@intel.com> Modifying lli to use the SectionMemoryManager.

The functionality of SectionMemoryManager is equivalent to the LLIMCJITMemoryManager being replaced except that it allocates memory as RW and later changes it to RX or R as needed. The page permissions are set in the call to MCJIT::finalizeObject.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168722 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
53608a34ce3f0969e9fb01eaa983422761011e03 16-Nov-2012 Andrew Kaylor <andrew.kaylor@intel.com> Interface changes to allow RuntimeDyld memory managers to set memory permissions after an object has been loaded.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168114 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
28989889bf3aa3314562d438aece245b71176ec4 05-Nov-2012 Andrew Kaylor <andrew.kaylor@intel.com> Add a method to indicate section address re-assignment is finished.

Prior to this patch RuntimeDyld attempted to re-apply relocations every time reassignSectionAddress was called (via MCJIT::mapSectionAddress). In addition to being inefficient and redundant, this led to a problem when a section was temporarily moved too far away from another section with a relative relocation referencing the section being moved. To fix this, I'm adding a new method (finalizeObject) which the client can call to indicate that it is finished rearranging section addresses so the relocations can safely be applied.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
6837232a609fe7b13473606a1c8a18eabfe2df2a 05-Nov-2012 Jim Grosbach <grosbach@apple.com> lli: Initialize the native asm parser for inline assembly.

MCJIT supports inline assembly, but requires the asm parser to do so.
Make sure to link it in and initialize it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167392 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
647d6d7d3b6bfc8d99b8425cff50f979dbbd2ab6 01-Nov-2012 Andrew Kaylor <andrew.kaylor@intel.com> Streamlined memory manager hierarchy for MCJIT and RuntimeDyld.

Patch by Ashok Thirumurthi

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167192 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
3037a58a218c6ca60214e1756951576c3a780b4a 01-Nov-2012 Andrew Kaylor <andrew.kaylor@intel.com> Fixed format strings to avoid pointer truncation during 64-bit debugging.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167185 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
b210e6fea56ecc8126d5101ccd2539da23546641 29-Oct-2012 Tim Northover <Tim.Northover@arm.com> Align the data section correctly when loading an ELF file.

Patch by Amara Emerson.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166920 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
77b4c69165090dcbf60e20492e41479489f64a6c 12-Oct-2012 Tim Northover <Tim.Northover@arm.com> Add float-abi and softfloat options to lli

Patch by Amara Emerson.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
55587cffec6f0fc1b5577a0e23baf08ea9d91340 05-Oct-2012 NAKAMURA Takumi <geek4civic@gmail.com> lli: [MCJIT] Suppress "__main" for cygming in LLIMCJITMemoryManager::getPointerToNamedFunction(), like legacy JITMemoryManager's.

CRT's __main (aka premain) invokes global ctors on cygming. See also PR3897.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165312 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
a668b46733310bbe9bc578e95ac5171efeceb949 20-Sep-2012 Tim Northover <Tim.Northover@arm.com> Make sure lli compiles all code before invalidating instruction caches.

Patch from Amara Emerson.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164296 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
706f03a35db7029b2dbd2925552eb0d0472dcbb4 05-Sep-2012 Jim Grosbach <grosbach@apple.com> MCJIT: Add faux remote target execution to lli for the MCJIT.

Simulate a remote target address space by allocating a seperate chunk of
memory for the target and re-mapping section addresses to that prior to
execution. Later we'll want to have a truly remote process, but for now
this gets us closer to being able to test the remote target
functionality outside LLDB.

rdar://12157052

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163216 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
5da959daff4d509afab8de212e0c95162c00d1bb 29-Aug-2012 Jim Grosbach <grosbach@apple.com> LLI: move instruction cache tweaks.

Invalidate the instruction cache right before we start actually executing code, otherwise
we can miss some that came later. This is still not quite right for a truly lazilly
compiled environment, but it's closer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162803 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
6514551be704adb577682148ca825c08fd642329 20-May-2012 Benjamin Kramer <benny.kra@googlemail.com> Plug a leak when using MCJIT.

Found by valgrind.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157160 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
223f2a72da166b9677ea8ce626e4e863c4784d81 19-May-2012 Benjamin Kramer <benny.kra@googlemail.com> Remove extra semicolons.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157118 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
068c65b22d50c265b51886062b2b9c1cb696d67d 16-May-2012 Danil Malyshev <dmalyshev@accesssoftek.com> Added LLIMCJITMemoryManager to the lli. This manager will be used for MCJIT instead of DefaultJIMMemoryManager.
It's more flexible for MCJIT tasks, in addition it's provides a invalidation instruction cache for code sections which will be used before JIT code will be executed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156933 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
30183bf04273127dedd4342c49f7612214c57181 29-Apr-2012 Eli Bendersky <eli.bendersky@intel.com> Remove redundant line (the memory manager is set above to the same object
if !ForceInterpreteri). It has no effect (apart from a memory leak...)




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155792 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
9a1484165cd7cc3b95f5f65f845257c44f55a5b3 18-Apr-2012 Nick Lewycky <nicholas@mxc.ca> Move the JIT flags from llc to lli. These flags showed up as part of moving
backend flags in TargetOptions.h into their own class in r145714.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154993 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
61b1851a205cb8dd29c1d3d4231efb8f8f7da283 13-Mar-2012 Eli Bendersky <eli.bendersky@intel.com> Add profiling support for Intel Parallel Amplifier XE (VTune) for JITted code in LLVM.

Also refactor the existing OProfile profiling code to reuse the same interfaces with the VTune profiling code.
In addition, unit tests for the profiling interfaces were added.

This patch was prepared by Andrew Kaylor and Daniel Malea, and reviewed in the llvm-commits list by Jim Grosbach



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152620 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
a66a18505e07a4e72d6fa7e85663937a257577f3 16-Jan-2012 Eli Bendersky <eli.bendersky@intel.com> Adding a basic ELF dynamic loader and MC-JIT for ELF. Functionality is currently basic and will be enhanced with future patches.
Patch developed by Andy Kaylor and Daniel Malea. Reviewed on llvm-commits.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148231 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
4992881636697d3f323c06724984996f715c98ad 11-Jan-2012 Jim Grosbach <grosbach@apple.com> 80 columns.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147970 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
f6c22c676092fec44861e3938e50d943413a2f81 11-Jan-2012 Jim Grosbach <grosbach@apple.com> lli should only create memmgr when JITing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147969 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
bf9ab932c1efea8804b3bc9d5b66314e6374d4cd 11-Jan-2012 Jim Grosbach <grosbach@apple.com> lli should create a JIT memory manager.

Previously let the JITEmitter do it. That's rather odd, and doesn't play nice
with the MCJIT, so move the (trivial) logic up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147967 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
d8b7aa26134d2abee777f745c32005e63dea2455 16-Oct-2011 Chris Lattner <sabre@nondot.org> Enhance llvm::SourceMgr to support diagnostic ranges, the same way clang does. Enhance
the X86 asmparser to produce ranges in the one case that was annoying me, for example:

test.s:10:15: error: invalid operand for instruction
movl 0(%rax), 0(%edx)
^~~~~~~

It should be straight-forward to enhance filecheck, tblgen, and/or the .ll parser to use
ranges where appropriate if someone is interested.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142106 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
3e74d6fdd248e20a280f1dff3da9a6c689c2c4c3 24-Aug-2011 Evan Cheng <evan.cheng@apple.com> Move TargetRegistry and TargetSelect from Target to Support where they belong.
These are strictly utilities for registering targets and components.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138450 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
34ad6db8b958fdc0d38e122edf753b5326e69b03 20-Jul-2011 Evan Cheng <evan.cheng@apple.com> - Move CodeModel from a TargetMachine global option to MCCodeGenInfo.
- Introduce JITDefault code model. This tells targets to set different default
code model for JIT. This eliminates the ugly hack in TargetMachine where
code model is changed after construction.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135580 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
439661395fd2a2a832dba01c65bc88718528313c 19-Jul-2011 Evan Cheng <evan.cheng@apple.com> Introduce MCCodeGenInfo, which keeps information that can affect codegen
(including compilation, assembly). Move relocation model Reloc::Model from
TargetMachine to MCCodeGenInfo so it's accessible even without TargetMachine.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135468 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
31649e61bcead26a63c7cd452da90fff5e000b91 18-Mar-2011 Jim Grosbach <grosbach@apple.com> Beginnings of MC-JIT code generation.

Proof-of-concept code that code-gens a module to an in-memory MachO object.
This will be hooked up to a run-time dynamic linker library (see: llvm-rtdyld
for similarly conceptual work for that part) which will take the compiled
object and link it together with the rest of the system, providing back to the
JIT a table of available symbols which will be used to respond to the
getPointerTo*() queries.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127916 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
1f6efa3996dd1929fbc129203ce5009b620e6969 29-Nov-2010 Michael J. Spencer <bigcheesegs@gmail.com> Merge System into Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
6aec29848676494867e26307698155bc2c5a4033 17-Nov-2010 Daniel Dunbar <daniel@zuster.org> MCJIT: Stub out MCJIT implementation, still doesn't do anything useful.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119509 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
6d135972bf4e7fdc4de6b0538d6a3b91a06e3a5d 17-Nov-2010 Daniel Dunbar <daniel@zuster.org> lli: Add stub -use-mcjit option, which doesn't currently do anything.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119508 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
46a27169104ac4cded2bd91e7f872efa80e08446 13-Nov-2010 Daniel Dunbar <daniel@zuster.org> lli: Switch to using ParseIRFile, for consistency with other LLVM tools.

- Also, switch tests to not using llvm-as. They run 20% faster now, not that it matters.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118952 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
a13d14a1290bc2c8b2e25a51ec4ae4e9bc8cd215 22-Oct-2010 NAKAMURA Takumi <geek4civic@gmail.com> lli: On Cygwin-1.5, lli crashes at invoking destructors in atexit handler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117095 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
75ebbceeeda1e7a78efe1848bb90e034f0c6ba61 28-Aug-2010 Duncan Sands <baldrick@free.fr> Straighten out any triple strings passed on the command line before
they hit the rest of the system.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112344 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
3bb37e968bcb202abba0c359c178817fc97ab6e8 15-Apr-2010 Benjamin Kramer <benny.kra@googlemail.com> Simplify ".bc" detection.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101365 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
6484dd46b8b0d6594b53f1c539dc0bd5d1179386 15-Apr-2010 Chris Lattner <sabre@nondot.org> fix a crash on "lli ex" or any other file whose name is exactly two
characters long.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101336 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
4688261c20735f5ead2f08695acdeb727db31894 05-Feb-2010 Jeffrey Yasskin <jyasskin@google.com> Move --march, --mcpu, and --mattr from JIT/TargetSelect.cpp to lli.cpp.
llc.cpp also defined these flags, meaning that when I linked all of LLVM's
libraries into a single shared library, llc crashed on startup with duplicate
flag definitions. This patch passes them through the EngineBuilder into
JIT::selectTarget().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95390 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
f0356fe140af1a30587b9a86bcfb1b2c51b8ce20 27-Jan-2010 Jeffrey Yasskin <jyasskin@google.com> Kill ModuleProvider and ghost linkage by inverting the relationship between
Modules and ModuleProviders. Because the "ModuleProvider" simply materializes
GlobalValues now, and doesn't provide modules, it's renamed to
"GVMaterializer". Code that used to need a ModuleProvider to materialize
Functions can now materialize the Functions directly. Functions no longer use a
magic linkage to record that they're materializable; they simply ask the
GVMaterializer.

Because the C ABI must never change, we can't remove LLVMModuleProviderRef or
the functions that refer to it. Instead, because Module now exposes the same
functionality ModuleProvider used to, we store a Module* in any
LLVMModuleProviderRef and translate in the wrapper methods. The bindings to
other languages still use the ModuleProvider concept. It would probably be
worth some time to update them to follow the C++ more closely, but I don't
intend to do it.

Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94686 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
18fec73e29d68b9c7473720507f51de39b0873b1 27-Oct-2009 Jeffrey Yasskin <jyasskin@google.com> Revert the API changes from r85295 to make it easier for people to build
against both 2.6 and HEAD. The default is still changed to eager jitting.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85330 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
dc85724f703bddf6988b6b3f20203beab775f32b 27-Oct-2009 Jeffrey Yasskin <jyasskin@google.com> Change the JIT to compile eagerly by default as agreed in
http://llvm.org/PR5184, and beef up the comments to describe what both options
do and the risks of lazy compilation in the presence of threads.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85295 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
4cdc5bb70759f3ac5b2d2810a9f74a2b1d262c9a 21-Oct-2009 Jeffrey Yasskin <jyasskin@google.com> Delete the MacOSJITEventListener per echristo's request. It was disabled by
default and didn't work anyway.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84720 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
bf57b52ba424bbaaa6e2d25dd4df731deb59f959 16-Oct-2009 Evan Cheng <evan.cheng@apple.com> Add a CodeGenOpt::Less level to match -O1. It'll be used by clients which do not want post-regalloc scheduling.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84272 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
74382b7c699120fbec5cb5603c9cf4212eb37f06 24-Aug-2009 Chris Lattner <sabre@nondot.org> Prune #includes from llvm/Linker.h and llvm/System/Path.h,
forcing them down into various .cpp files.

This change also:
1. Renames TimeValue::toString() and Path::toString() to ::str()
for similarity with the STL.
2. Removes all stream insertion support for sys::Path, forcing
clients to call .str().
3. Removes a use of Config/alloca.h from bugpoint, using smallvector
instead.
4. Weans llvm-db off <iostream>

sys::Path really needs to be gutted, but I don't have the desire to
do it at this point.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79869 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
1d0be15f89cb5056e20e2d24faa8d6afb1573bca 13-Aug-2009 Owen Anderson <resistor@mac.com> Push LLVMContexts through the IntegerType APIs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
d9283ed7468d1c443bf5f80665f0e2c349ed8c10 05-Aug-2009 Dan Gohman <gohman@apple.com> lli doesn't need <iostream> anymore.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78133 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
10b4fc552f984dc978298d50c09c97c0764962fc 23-Jul-2009 Reid Kleckner <reid@kleckner.net> Re-committing r76828 with the JIT memory manager changes now that the build
bots like the BumpPtrAllocator changes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76902 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
4bf370698a456bcc96d26184785eb4f5fab396f2 23-Jul-2009 Reid Kleckner <reid@kleckner.net> Reverting r76825 and r76828, since they caused clang runtime errors and some build failure involving memset.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76838 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
81ce3ed08c4df0c246b378c8972062d2f49f1ce9 23-Jul-2009 Reid Kleckner <reid@kleckner.net> Make the JIT code emitter properly retry and ask for more memory when it runs
out of memory, and also make the default memory manager allocate more memory
when it runs out.

Also, switch function stubs and global data over to using the BumpPtrAllocator.

This makes it so the JIT no longer mmaps (or the equivalent on Windows) 16 MB
of memory, and instead allocates in 512K slabs. I suspect this size could go
lower, especially on embedded platforms, now that more slabs can be allocated.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
4dc31369eb711344055a69f6d9663b584b2a032d 18-Jul-2009 Daniel Dunbar <daniel@zuster.org> Switch lli back to using allocate-gvs-with-code behavior.
- Otherwise we get two regressions in llvm-test for applications which run out
of space.

- Once the JIT memory manager is improved, this can be switched back.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76291 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
4b1511b027ce0b648b3379f2891816c25b46f515 18-Jul-2009 Reid Kleckner <reid@kleckner.net> Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create().

Also a test commit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76276 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
494d663175bbaa7db4743105d1efdf78be9cdb03 16-Jul-2009 Daniel Dunbar <daniel@zuster.org> Make sure targets are initialized before we do anything, even command line
processing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
0d7c695c74ae6d5f68cc07378c17491915e607d3 16-Jul-2009 Owen Anderson <resistor@mac.com> To simplify the upcoming context-on-type change, switch all command line tools to using the default global context for now.

This will let us to hardwire stuff to the global context in the short term while the API is sorted out.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75846 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
65f57c233cd4499e2e8b52a503201e64edfd6a9e 15-Jul-2009 Dan Gohman <gohman@apple.com> Use errs() instead of std::cerr.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
8f6d9a729e4f73c25c3dadaf2af01e87b71c2288 10-Jul-2009 Jeffrey Yasskin <jyasskin@google.com> Add a --with-oprofile flag to configure, which uses OProfile's agent
library to tell it the addresses of JITted functions. For a
particular program, this changes the opreport -l output from:

samples % image name symbol name
48182 98.9729 anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000) anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000)
11 0.0226 libstdc++.so.6.0.9 /usr/lib/libstdc++.so.6.0.9

to:

samples % image name symbol name
24565 60.7308 19814.jo fib_left
15365 37.9861 19814.jo fib_right
22 0.0544 ld-2.7.so do_lookup_x



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
fd15beefeedcb8108913e75e7c736dfcc17b433a 07-Jul-2009 Chris Lattner <sabre@nondot.org> Fix lli to print an error and exit when EE returns null but no string. Patch
by Eric Rannaud!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74930 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
db9c028d019f60c7bbb0d8282ffd14f348c0cf52 03-Jul-2009 Torok Edwin <edwintorok@gmail.com> Fix typo: intepreter->interpreter.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74770 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
31895e73591d3c9ceae731a1274c8f56194b9616 01-Jul-2009 Owen Anderson <resistor@mac.com> Hold the LLVMContext by reference rather than by pointer.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
8b477ed579794ba6d76915d56b3f448a7dd20120 01-Jul-2009 Owen Anderson <resistor@mac.com> Add a pointer to the owning LLVMContext to Module. This requires threading LLVMContext through a lot
of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools.

Patches for Clang and LLVM-GCC to follow.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
df5a7daff9c7664bff8b713e8ed5155319bc6041 25-Jun-2009 Jeffrey Yasskin <jyasskin@google.com> Add a JITEventListener interface that gets called back when a new function is
emitted or the machine code for a function is freed. Chris mentioned that we
may also want a notification when a stub is emitted, but that'll be a future
change. I intend to use this to tell oprofile where functions are emitted and
what lines correspond to what addresses.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74157 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
2deb58f72ec6547a2f760fc48f86b4d95d0a4a02 17-Jun-2009 Chris Lattner <sabre@nondot.org> switch to using llvm/Target/TargetSelect.h


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73611 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
c447ff693e9979c61f58b8e97dcfdbcfe7e10554 17-Jun-2009 Chris Lattner <sabre@nondot.org> Use Doug's new LLVM_NATIVE_ARCH macro in config.h to link in the native
target so that the JIT works in LLI, not just the interpreter.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73595 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
712e80e188c306125e32e46e9ed5db9dfc2f7cc9 05-May-2009 Evan Cheng <evan.cheng@apple.com> Default llc / lli optimization to "Default", which corresponds to -O1 / -O2.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70934 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
98a366d547772010e94609e4584489b3e5ce0043 30-Apr-2009 Bill Wendling <isanbard@gmail.com> Instead of passing in an unsigned value for the optimization level, use an enum,
which better identifies what the optimization is doing. And is more flexible for
future uses.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70440 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
cc14d25dd99e891c586bd56aa41796abbe4ac3d8 06-Mar-2009 Chris Lattner <sabre@nondot.org> Change various llvm utilities to use PrettyStackTraceProgram in
their main routines. This makes the tools print their argc/argv
commands if they crash.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66248 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
ec740e325c2d5b1814bd72337d49fe5a74ba9686 06-Nov-2008 Evan Cheng <evan.cheng@apple.com> Add command line option -entry-funcion to override entry function (default is main).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
e1a4eda990a765952434d39d7c14299d1d4614a5 08-Aug-2008 Evan Cheng <evan.cheng@apple.com> Add -fast command line option to lli. It enables fast codegen path.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54524 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
03dace82f416687f3752b99c7caef8d4519637a1 21-May-2008 Evan Cheng <evan.cheng@apple.com> Rename -no-lazy to -disable-lazy-compilation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51386 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
c290a5b9ffa6ade5a02e9d8c46fc521a5b71529e 22-Apr-2008 Evan Cheng <evan.cheng@apple.com> Added command line option -no-lazy to disable JIT lazy compilation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50095 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
21c62da287237d39d0d95004881ea4baae3be6da 29-Dec-2007 Chris Lattner <sabre@nondot.org> remove attributions from tools.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45421 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
82a13c9c4811e40d0ff858c508cb54d672ee926e 08-Oct-2007 Dan Gohman <gohman@apple.com> Move the space in overview output for commands out of each of the
commands and into the common code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42752 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
a99be51bf5cdac1438069d4b01766c47704961c8 05-Jul-2007 Gabor Greif <ggreif@gmail.com> Here is the bulk of the sanitizing.
Almost all occurrences of "bytecode" in the sources have been eliminated.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
065344dfd5a7b3502098810b981eb0077e5d81f3 07-May-2007 Chris Lattner <sabre@nondot.org> use the new MemoryBuffer interfaces to simplify error reporting in clients.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36900 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
744879ea01779a48f898a801c847677b0bfa824a 06-May-2007 Chris Lattner <sabre@nondot.org> switch tools to bitcode from bytecode


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36872 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
c1e6d686986f511774e0f46e21d4cd90f734bed1 06-May-2007 Chris Lattner <sabre@nondot.org> add bitcode reading support, remove eh stuff


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36840 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
020403209a86a3b4d210a4bc62b37ee5cf49dec8 27-Apr-2007 Chris Lattner <sabre@nondot.org> reset errno to zero on entry to the application's main function. This fixes
MultiSource/Applications/minisat in the JIT.

Note that the libsystem stuff should ideally never modify errno. :(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36508 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
124294bc59dab9ec57fd7072cec574a4464ec59f 06-Mar-2007 Reid Spencer <rspencer@reidspencer.com> Obtain the exit function before execution just in case the module
disappears before we get to calling the exit function.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34953 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
f70d67750102509d0192c58ab5ddf4e450b5f114 03-Mar-2007 Reid Spencer <rspencer@reidspencer.com> 1. Handle errors around the ModuleProvider. This is necessary since it is
reading bytecode.
2. The interpreter can delete the ModuleProvider and replace it with
another so don't depend on it being around after the EE is created.
3. Don't just run llvm_shutdown on exit but actually delete the EE as well.
This cleans up a vast amount of memory (but not all) that EE retained
through exit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
f2e292ce58ca07d9bbe3cad75f8baa35bd85964a 07-Feb-2007 Chris Lattner <sabre@nondot.org> push bytecode decompressor out through APIs. Now the bytecode reader
api's look like this:

ModuleProvider *getBytecodeModuleProvider(
const std::string &Filename, ///< Name of file to be read
BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer,
std::string* ErrMsg = 0, ///< Optional error message holder
BytecodeHandler* H = 0 ///< Optional handler for reader events
);

This is ugly, but allows a client to say:

getBytecodeModuleProvider("foo", 0);

If they do this, there is no dependency on the compression libraries, saving
codesize.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34012 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
688b0490e22eb67623f5aaa24406209be74efcb2 05-Feb-2007 Reid Spencer <rspencer@reidspencer.com> For PR411:
Adjust to changes in Module interface:
getMainFunction() -> getFunction("main")
getNamedFunction(X) -> getFunction(X)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33922 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
c0974a1344f0c565f0200d28537806bf07b68acf 08-Jan-2007 Chris Lattner <sabre@nondot.org> fix atexit. This is an overcomplex way of calling exit, but it is required,
as the jit intercepts exit calls to implement atexit handlers. This
fixes SingleSource/UnitTests/2003-05-14-AtExit


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33008 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
f74edf28b6a23d156aeb93750adfe301cdd851cc 07-Jan-2007 Chris Lattner <sabre@nondot.org> this is an overcomplex way to call exit :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32978 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
71d2ec9e6d20bd8701471bc6e6db620838ce3539 31-Dec-2006 Reid Spencer <rspencer@reidspencer.com> For PR950:
Convert signed integer types to signless.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32790 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
ca3aa26c202c8442eaa6725ace1a88dffd01b486 10-Dec-2006 Chris Lattner <sabre@nondot.org> make statistics and timing info print even if the JIT'd program calls exit
instead of returning from main.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32414 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
c30598bc3ad792eb8cc75b188eb872a28c62ab71 06-Dec-2006 Chris Lattner <sabre@nondot.org> make all llvm tools call llvm_shutdown when they exit, static'ify some stuff.

With this change, I can now move -stats to print when llvm_shutdown is called.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
43f249adb711b7f05f16c8be1549323ccff21a50 14-Sep-2006 Chris Lattner <sabre@nondot.org> add a new (hidden) -disable-core-files option


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30318 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
0b5a504d105514178c80b886321221fbe5ac1131 25-Aug-2006 Reid Spencer <rspencer@reidspencer.com> For PR797:
Remove exception throwing/handling from lib/Bytecode, and adjust its users
to compensate for changes in the interface.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29875 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
d3a680ae2cb1ca2d96d1272754af4702862dcb30 02-Aug-2006 Chris Lattner <sabre@nondot.org> Fix the build on case-sensitive filesystems :(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29457 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
13ec702c430b91ee49b9e6d9581cd95412f216c8 01-Aug-2006 Jim Laskey <jlaskey@mac.com> Introducing plugable register allocators and instruction schedulers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29434 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
2f51914d828b462b054195e73c75448f24e01979 24-Mar-2006 Jeff Cohen <jeffc@jolt-lang.org> Get JIT/Interpreter working on Windows again.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27037 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
42d0b455ec221fa8049944a3e6427a503859eae2 08-Mar-2006 Chris Lattner <sabre@nondot.org> Fit to 80 columns.
Add support for running static ctor/dtors that aren't handled by __main.
This fixes programs with the JIT and the new CFE, such as HBD.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26620 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
60844d46ceaba7d020d55b521b31c787f149e7a4 16-Dec-2005 Chris Lattner <sabre@nondot.org> rename option


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24732 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
3015e6061c67ef30e85df83f320f3dcf9c9f023b 16-Dec-2005 Chris Lattner <sabre@nondot.org> provide an option to override the target triple in a module from the commandline.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24730 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
52098898b463923a01a0bf3d18d6fb9f96c8d5ef 02-Dec-2005 Chris Lattner <sabre@nondot.org> Revert my previous patch which broke due to lazy streaming of functions
from .bc files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24575 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
48ba8221af97cc76cb2018ceac490d7b5d0fa6ff 01-Dec-2005 Chris Lattner <sabre@nondot.org> If a module has a main, but it is defined externally, refuse to run it.

Attempting to run it will find lli's main, which isn't the desired effect.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24569 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
66c5fd6c537269eaef0f630fa14360dcaff6a295 23-Oct-2005 Jeff Cohen <jeffc@jolt-lang.org> When a function takes a variable number of pointer arguments, with a zero
pointer marking the end of the list, the zero *must* be cast to the pointer
type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will
not extend the zero to 64 bits, thus allowing the upper 32 bits to be
random junk.

The new END_WITH_NULL macro may be used to annotate a such a function
so that GCC (version 4 or newer) will detect the use of un-casted zero
at compile time.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
3da94aec4d429b2ba0f65fa040c33650cade196b 22-Apr-2005 Misha Brukman <brukman+llvm@gmail.com> Remove trailing whitespace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
1ef8bdaedbd98bee35a573b8bc87149f2182cb5e 30-Dec-2004 Reid Spencer <rspencer@reidspencer.com> For PR351:
* Place a try/catch block around the entire tool to Make sure std::string
exceptions are caught and printed before exiting the tool.
* Make sure we catch unhandled exceptions at the top level so that we don't
abort with a useless message but indicate than an unhandled exception was
generated.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19192 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
551ccae044b0ff658fe629dd67edd5ffe75d10e8 02-Sep-2004 Reid Spencer <rspencer@reidspencer.com> Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
9de7b334ec6f80a15f093f11b339f5741c964b34 29-Aug-2004 Reid Spencer <rspencer@reidspencer.com> The functions in Signal.h are now in the llvm::sys namespace - adjust


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16091 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
a3eb7b3983492a8f5b365d100b69771f06a72e73 11-Jul-2004 Chris Lattner <sabre@nondot.org> Add a -load option


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14739 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
86f42bdad93677fa0ca33b27afb0f493028376cb 04-Jul-2004 Reid Spencer <rspencer@reidspencer.com> Add #include <iostream> since Value.h does not include it any more.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14623 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
bed85ff010b95923646ed4e187a5d432cedf67da 27-May-2004 Chris Lattner <sabre@nondot.org> Header file moved


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13813 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
364d1203e7adaededf3c01f58bd968ee61f4a316 19-Feb-2004 Chris Lattner <sabre@nondot.org> Make sure to print a stack trace whenever an error signal is delivered to
the tool.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11633 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
6fb6ce3148ec4a9aaab47800da2365d7f60a6f5b 28-Dec-2003 Chris Lattner <sabre@nondot.org> Pass extra arguments around n stuph


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10631 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
269a42811bf20f17a69600905cc5c03f68773043 26-Dec-2003 Chris Lattner <sabre@nondot.org> Factor out code to ExecutionEngine


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
3ef3dd36fe12103e643f3a5a2f9b3287fa1c2f40 26-Dec-2003 Chris Lattner <sabre@nondot.org> Simplify code


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10613 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
efec9669d90f90703e92e0a3851bc5fb9b0f8fd8 26-Dec-2003 Chris Lattner <sabre@nondot.org> * eliminate the -f argument to lli, as it was silly and never useful anyway
* Inline callMain function
* Remove hack from the ExecutionEngines where the 'run' method would automatically
run atExit functions. Fixing this requires explicitly calling exit if main returns


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10611 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
7efea1dd98cd9e20ef160c838190f5249123f494 26-Dec-2003 Chris Lattner <sabre@nondot.org> update comment


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10607 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
3f6e798a14fa2eead887632f5ff268c8015f6b15 12-Dec-2003 Brian Gaeke <gaeke@uiuc.edu> Add an assertion to make sure we are at least getting argv[0] right.
Use a clearer error message when we fail to load a program.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10414 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
d0fde30ce850b78371fd1386338350591f9ff494 11-Nov-2003 Brian Gaeke <gaeke@uiuc.edu> Put all LLVM code into the llvm namespace, as per bug 109.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
e69671d65b45b6a1bbbdc1b215b8c0f943171c29 28-Oct-2003 Chris Lattner <sabre@nondot.org> Add the ability for users to specify a specific argv[0] to pass into the
program


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9565 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
2f828c343bc2c5dc644f0dcc07c7cfd5b8b7b4da 24-Oct-2003 Brian Gaeke <gaeke@uiuc.edu> TraceMode, as you may have heard, is history.
ExecutionEngine::create no longer takes a TraceMode argument.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9495 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
1ee1e64293dc1727c0119530ae4bc72006879954 20-Oct-2003 John Criswell <criswell@uiuc.edu> Removed extraneous comment line.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9308 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
7c0e022c5c4be4b11e199a53f73bbdd84e34aa80 20-Oct-2003 John Criswell <criswell@uiuc.edu> Added copyright header to all C++ source files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9291 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
c4fb6fdd8677530d9b1db34b6254edb0094b78ed 14-Oct-2003 Misha Brukman <brukman+llvm@gmail.com> Enabling incremental bytecode loading in the JIT:
* Use the incremental bytecode reader interface to speed up execution


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9127 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
3d8a54d00c1f3e9a1a349a9b0645c85a09d7c20b 25-Sep-2003 Misha Brukman <brukman+llvm@gmail.com> To be consistent with the rest of LLVM codebase (and the rest of this file):
* Changed tabs to spaces
* Removed a space between a function call and its arguments (...)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
fd13129bdf7324b2e8181a653897269aaaecc4e8 05-Sep-2003 Chris Lattner <sabre@nondot.org> Reorder #includes to follow LLVM conventions


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8375 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
d1cab3e6ce508e593b17fdd660ed8cc4ea486d72 05-Sep-2003 Brian Gaeke <gaeke@uiuc.edu> Interpreter, JIT moved to lib/ExecutionEngine (includes -> llvm/ExecutionEngine)
Build lli using executionengine library


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8372 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
70975eef572b9e132bbaade16ba9edb76f15f287 05-Sep-2003 Brian Gaeke <gaeke@uiuc.edu> Make CreateArgv part of lli rather than part of ExecutionEngine.
Switch Interpreter and JIT's "run" methods to take a Function and a vector of
GenericValues.
Move (almost all of) the stuff that constructs a canonical call to main()
into lli (new methods "callAsMain", "makeStringVector").
Nuke getCurrentExecutablePath(), enableTracing(), getCurrentFunction(),
isStopped(), and many dead decls from interpreter.
Add linux strdup() support to interpreter.
Make interpreter's atexit handler runner and JIT's runAtExitHandlers() look
more alike, in preparation for refactoring.
atexit() is spelled "atexit", not "at_exit".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
8e539488816c9e52bde0af475f72cd3e6407d558 05-Sep-2003 Brian Gaeke <gaeke@uiuc.edu> Move EE dtor where it belongs


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8345 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
f58815e161c8c91075dd1af7a277314190ebc286 05-Sep-2003 Brian Gaeke <gaeke@uiuc.edu> Interpreter cleanups:

Get rid of support for DebugMode (make it always off).
Mung some comments.
Get rid of interpreter's PROFILE_STRUCTURE_FIELDS and PerformExitStuff
which have been disabled forever.
Get rid of -abort-on-exception (make it always on).
Get rid of user interaction stuff (debug mode innards).
Simplify Interpreter's callMainFunction().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8344 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
82d8277ad5862b54341808812bb4016e52347060 03-Sep-2003 Brian Gaeke <gaeke@uiuc.edu> ExecutionEngine.cpp: Move execution engine creation stuff into a new
static method here.
Remove some extra blank lines.
ExecutionEngine.h: Add its prototype.
lli.cpp: Call it.

Make creation method for each type of EE into a static method of its
own subclass.

Interpreter/Interpreter.cpp: ExecutionEngine::createInterpreter -->
Interpreter::create
Interpreter/Interpreter.h: Likewise.
JIT/JIT.cpp: ExecutionEngine::createJIT --> VM::create
JIT/VM.h: Likewise.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8343 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
0c8c0e80cafab40db16cc82941896d127c3b66cf 24-Aug-2003 Chris Lattner <sabre@nondot.org> Remove some long-dead code


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8135 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
39c07264da992fd5d37fa7eaac0b9f02f55f80d0 24-Aug-2003 Chris Lattner <sabre@nondot.org> Targets now configure themselves based on the source module, not on the
ad-hoc "Config" flags


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8134 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
1543e40cea50d244979f0667f453cf3466a6106c 24-Aug-2003 Chris Lattner <sabre@nondot.org> Add preliminary support for "any" pointersize/endianness. This will need
to change soon though.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8123 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
69582b35b6aa4e48cbbad7f6f1193c967da96b25 21-Aug-2003 John Criswell <criswell@uiuc.edu> The JIT now passes the environment pointer to the main() function when it
starts a program. This allows the GNU env program to compile and JIT under
LLVM.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8022 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
6ae73dc98f2b1177b3e1a8c462111deab79c9e4c 23-May-2003 Brian Gaeke <gaeke@uiuc.edu> Remove ".bc" from the end of InputFile if it is there, in
tools/lli/lli.cpp:main().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6317 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
19669f37b0add2bf4e712be262e33bdb45eed2e9 12-May-2003 Chris Lattner <sabre@nondot.org> The JIT is the default mode for LLI now


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6118 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
e0b235cd97ffcc2480aaf5f617c47cbc4bbfba24 22-Apr-2003 Chris Lattner <sabre@nondot.org> Build the appropriate target machine for the input pointer size and endianness


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5838 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
d6840ac046715061d42e4dd5375cd9ed6dd3dca4 24-Dec-2002 Chris Lattner <sabre@nondot.org> Fixes to compile with GCC 3.2


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5134 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
fe11a97fcde7c63109c3ad36570657807d0cd6ef 24-Dec-2002 Chris Lattner <sabre@nondot.org> Substantial changes to refactor LLI to incorporate both the Jello JIT and
the traditional LLI interpreter


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5125 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
bbdabce1e97f77d383def3f06a51c4fc75d114cf 08-Dec-2002 Chris Lattner <sabre@nondot.org> Add support to count the number of dynamic instructions executed by LLI


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4955 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
db14500d889663ef699fc4ddd3ad1d48ace82285 25-Jul-2002 Chris Lattner <sabre@nondot.org> Namespace correctness is good


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3088 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
b8658949c3bcf1ebe4ffe86e2193b763bff7f372 25-Jul-2002 Chris Lattner <sabre@nondot.org> REmove extra blank lines


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3084 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
5ff62e90d0bc321206023897edc1e2691cb0fbb6 22-Jul-2002 Chris Lattner <sabre@nondot.org> *** empty log message ***


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2985 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
cee8f9ae67104576b2028125b56e9ba4856a1d66 27-Nov-2001 Chris Lattner <sabre@nondot.org> Create a new #include "Support/..." directory structure to move things
from "llvm/Support/..." that are not llvm dependant.

Move files and fix #includes


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
aca8e90cd9f632ffcedbf0ce97bf4c22c955a3d8 26-Nov-2001 Chris Lattner <sabre@nondot.org> Fix problem where lli < foo.bc would have argc = 0


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1393 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
2b2e5b360e9509c97e312224c94077609e12d157 30-Oct-2001 Chris Lattner <sabre@nondot.org> Initialize map for purify


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1049 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
aa7420b35b43ad266b19dfc8fee4a1af29069c52 29-Oct-2001 Chris Lattner <sabre@nondot.org> Oops, accidentally broke reading from stdin when doing command line arguments


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1026 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
43e3f7c9627d0793a31a9457d3bbbe4d8d56d331 27-Oct-2001 Chris Lattner <sabre@nondot.org> Implement a -trace command line option and a trace option in the interpreter.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
204eec3f57aedd703fb73db78ac2b4087caf9f07 27-Oct-2001 Chris Lattner <sabre@nondot.org> Provide argv for commands


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@987 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
f8f2afb8cc5f080b291faad678e0a256ea44d15f 18-Oct-2001 Chris Lattner <sabre@nondot.org> Enhancements to pass argc & argv to main if required


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@909 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
2e42d3a3060ff0c3d4c419f17493bc6a7683e9d0 15-Oct-2001 Chris Lattner <sabre@nondot.org> Implement global variables. Struct and Pointer initializers are not implemented yet though


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@818 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp
92101acd7fd44fd467fbeb974ae6c042289c74f9 23-Aug-2001 Chris Lattner <sabre@nondot.org> Initial checkin of interpreter


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/lli/lli.cpp