summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AllTargets.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "llvm-c: Make target initializer functions external functions in lib."Rui Ueyama2013-10-091-43/+0
| | | | | | | | This reverts commit r192316. The original change introduced circular dependencies between libTarget and backends. That would broke a build unless link everything into one big binary. llvm-svn: 192329
* llvm-c: Make target initializer functions external functions in lib.Anders Waldenborg2013-10-091-0/+43
Making them proper functions defined in the (shared)lib instead of static inlines defined in the header files makes it possible to actually distribute a binary compiled against the shared library without having to worry about getting undefined symbol errors when calling e.g LLVMInitializeAllTargetInfos because the shared library on the other system was compiled with different targets. Differential Revision: http://llvm-reviews.chandlerc.com/D1714 llvm-svn: 192316
OpenPOWER on IntegriCloud