|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| | llvm-svn: 144648 | 
| | 
| 
| 
| 
| 
| 
| 
| | versions of explicit dependencies.
 - The hope is that we have a tool/test to verify these are accurate (and tight) soon.
llvm-svn: 144444 | 
| | 
| 
| 
| | llvm-svn: 143634 | 
| | 
| 
| 
| | llvm-svn: 142464 | 
| | 
| 
| 
| 
| 
| | With libcxx, it seems <unistd.h> would not be provided. Thanks to Ryuta Suzuki.
llvm-svn: 137567 | 
| | 
| 
| 
| 
| 
| | when building with assertions disabled.
llvm-svn: 137460 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | specified in the same file that the library itself is created. This is
more idiomatic for CMake builds, and also allows us to correctly specify
dependencies that are missed due to bugs in the GenLibDeps perl script,
or change from compiler to compiler. On Linux, this returns CMake to
a place where it can relably rebuild several targets of LLVM.
I have tried not to change the dependencies from the ones in the current
auto-generated file. The only places I've really diverged are in places
where I was seeing link failures, and added a dependency. The goal of
this patch is not to start changing the dependencies, merely to move
them into the correct location, and an explicit form that we can control
and change when necessary.
This also removes a serialization point in the build because we don't
have to scan all the libraries before we begin building various tools.
We no longer have a step of the build that regenerates a file inside the
source tree. A few other associated cleanups fall out of this.
This isn't really finished yet though. After talking to dgregor he urged
switching to a single CMake macro to construct libraries with both
sources and dependencies in the arguments. Migrating from the two macros
to that style will be a follow-up patch.
Also, llvm-config is still generated with GenLibDeps.pl, which means it
still has slightly buggy dependencies. The internal CMake
'llvm-config-like' macro uses the correct explicitly specified
dependencies however. A future patch will switch llvm-config generation
(when using CMake) to be based on these deps as well.
This may well break Windows. I'm getting a machine set up now to dig
into any failures there. If anyone can chime in with problems they see
or ideas of how to solve them for Windows, much appreciated.
llvm-svn: 136433 | 
| | 
| 
| 
| 
| 
| 
| 
| | - 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.
llvm-svn: 135580 | 
| | 
| 
| 
| 
| 
| 
| | (including compilation, assembly). Move relocation model Reloc::Model from
TargetMachine to MCCodeGenInfo so it's accessible even without TargetMachine.
llvm-svn: 135468 | 
| | 
| 
| 
| 
| 
| | better location welcome).
llvm-svn: 135438 | 
| | 
| 
| 
| | llvm-svn: 135375 | 
| | 
| 
| 
| | llvm-svn: 135265 | 
| | 
| 
| 
| 
| 
| 
| | As an ExecutionEngine class function, its definition
really belongs in ExecutionEngine.cpp, not JIT.cpp.
llvm-svn: 131320 | 
| | 
| 
| 
| 
| 
| 
| 
| | 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: 131317 | 
| | 
| 
| 
| 
| 
| 
| | This prepares for making JITCtor/MCJITCtor take a
TargetMachine* directly from clients like EngineBuilder.
llvm-svn: 131316 | 
| | 
| 
| 
| 
| 
| | Please ensure the build is clean and tests are passing when recommitting.
llvm-svn: 131044 | 
| | 
| 
| 
| 
| 
| | 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 |