| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Forgot to `svn rm` these in revisions 131025 / 131029.
llvm-svn: 131030
|
|
|
|
|
|
|
| |
As an ExecutionEngine class function, its definition
really belongs in ExecutionEngine.cpp, not JIT.cpp.
llvm-svn: 131027
|
|
|
|
|
|
|
|
| |
In particular, into EngineBuilder. This should only impact
the private API between the EE and EB classes, not external
clients, since JITCtor and MCJITCtor are both protected members.
llvm-svn: 131026
|
|
|
|
|
|
|
| |
This prepares for making JITCtor/MCJITCtor take a
TargetMachine* directly from clients like EngineBuilder.
llvm-svn: 131025
|
|
|
|
|
|
| |
template arguments no longer works when the call arguments are lvalues.
llvm-svn: 130513
|
|
|
|
| |
llvm-svn: 130068
|
|
|
|
|
|
| |
Luis Felipe Strano Moraes!
llvm-svn: 129558
|
|
|
|
| |
llvm-svn: 129435
|
|
|
|
| |
llvm-svn: 128086
|
|
|
|
| |
llvm-svn: 127721
|
|
|
|
| |
llvm-svn: 127691
|
|
|
|
|
|
|
|
| |
Patch by Johannes Schaub!
Fixes PR8548
llvm-svn: 127047
|
|
|
|
|
|
| |
and fixes here and there.
llvm-svn: 123170
|
|
|
|
| |
llvm-svn: 120298
|
|
|
|
| |
llvm-svn: 119754
|
|
|
|
| |
llvm-svn: 118959
|
|
|
|
|
|
| |
name and prefixed with 'LLVM_'.
llvm-svn: 117203
|
|
|
|
|
|
|
| |
deregisters registered by it FDE structures allowing consecutive
JIT runs to succeed. Patch by Yuri. Fixes PR8285.
llvm-svn: 117004
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit r113632
Conflicts:
cmake/modules/AddLLVM.cmake
llvm-svn: 113819
|
|
|
|
| |
llvm-svn: 113632
|
|
|
|
| |
llvm-svn: 112535
|
|
|
|
|
|
|
|
|
|
| |
On Mingw and Cygwin, the symbol __main is resolved to
callee's(eg. tools/lli) one, to invoke wrong duplicated ctors
(and register wrong callee's dtors with atexit(3)).
We expect, by callee, ExecutionEngine::runStaticConstructorsDestructors()
is called before ExecutionEngine::runFunctionAsMain() is called.
llvm-svn: 112474
|
|
|
|
| |
llvm-svn: 111791
|
|
|
|
|
|
| |
against it. This affects Windows.
llvm-svn: 111240
|
|
|
|
|
|
| |
was built with -static.
llvm-svn: 110564
|
|
|
|
|
|
|
| |
exception handling. Also fix an extra underscore typo in one instance of
"__ARM_EABI__". Radar 8236264.
llvm-svn: 109451
|
|
|
|
|
|
|
| |
"yet another" copy of the dwarf EH emission code that was
copied, pasted and slightly hacked up.
llvm-svn: 109169
|
|
|
|
| |
llvm-svn: 109167
|
|
|
|
| |
llvm-svn: 108520
|
|
|
|
| |
llvm-svn: 108130
|
|
|
|
|
|
| |
patch by Yuri!
llvm-svn: 108107
|
|
|
|
|
|
|
| |
Remove the -enable-eh option which is only used by the JIT,
and replace it with -jit-enable-eh.
llvm-svn: 102865
|
|
|
|
|
|
|
|
| |
MachineFunction::DefaultDebugLoc. We now use the same technique as
DwarfDebug::beginFunction to find the starting line number for a
function.
llvm-svn: 102679
|
|
|
|
|
|
|
| |
emitted or not. The JIT doesn't set that. Look it up in the label location table
instead.
llvm-svn: 101686
|
|
|
|
| |
llvm-svn: 101685
|
|
|
|
| |
llvm-svn: 101655
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
JIT doesn't use the MC back-end asm printer to emit labels that it uses, the
section for the MCSymbol is never set. And thus the MCSymbol for the EH label
isn't marked as "defined". Because of that, TidyLandingPads removes the needed
landing pads from the JIT output. This breaks EH for every JIT program.
This is a work-around for this limitation. We pass in the label locations
map. If the label has a non-zero value, then it was "emitted" by the JIT and
TidyLandingPads shouldn't remove that label.
A nicer solution would be to mark the MCSymbol as "used" by the JIT and not rely
upon the section being set to determine if it's defined or not.
llvm-svn: 101453
|
|
|
|
| |
llvm-svn: 101334
|
|
|
|
| |
llvm-svn: 101294
|
|
|
|
|
|
| |
readability.
llvm-svn: 100756
|
|
|
|
| |
llvm-svn: 100709
|
|
|
|
| |
llvm-svn: 100461
|
|
|
|
|
|
| |
instead.
llvm-svn: 100328
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
representation. This eliminates the 'DILocation' MDNodes for
file/line/col tuples from -O0 -g codegen.
This remove the old DebugLoc class, making it a typedef for DebugLoc,
I'll rename NewDebugLoc next.
I didn't update the JIT to use the new apis, so it will continue to
work, but be as slow as before. Someone should eventually do this
or, better yet, rip out the JIT debug info stuff and build the JIT
on top of MC.
llvm-svn: 100209
|
|
|
|
| |
llvm-svn: 98612
|
|
|
|
| |
llvm-svn: 98487
|
|
|
|
|
|
| |
contain an MCSymbol instead of a label index.
llvm-svn: 98482
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of label ID's. This cleans up and regularizes a bunch
of code and makes way for future progress.
Unfortunately, this pointed out to me that JITDwarfEmitter.cpp
is largely copy and paste from DwarfException/MachineModuleInfo
and other places. This is very sad and disturbing. :(
One major change here is that TidyLandingPads moved from being
called in DwarfException::BeginFunction to being called in
DwarfException::EndFunction. There should not be any
functionality change from doing this, but I'm not an EH expert.
llvm-svn: 98459
|
|
|
|
|
|
| |
are inside the function by the target at the point of use.
llvm-svn: 98255
|
|
|
|
|
|
|
| |
and add a FIXME about how we are eventually going to zap this
lookup table once mc world domination is complete.
llvm-svn: 98031
|