| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 123897
|
| |
|
|
|
|
| |
via an out parm.
llvm-svn: 121958
|
| |
|
|
|
|
| |
error_code &ec. And fix clients.
llvm-svn: 121379
|
| |
|
|
| |
llvm-svn: 120298
|
| |
|
|
| |
llvm-svn: 112587
|
| |
|
|
|
|
| |
- Support the LinkerWeak*Linkage types in llvm-nm and in LinkModules.cpp.
llvm-svn: 111952
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Objective-C metadata types which should be marked as "weak", but which the
linker will remove upon final linkage. However, this linkage isn't specific to
Objective-C.
For example, the "objc_msgSend_fixup_alloc" symbol is defined like this:
.globl l_objc_msgSend_fixup_alloc
.weak_definition l_objc_msgSend_fixup_alloc
.section __DATA, __objc_msgrefs, coalesced
.align 3
l_objc_msgSend_fixup_alloc:
.quad _objc_msgSend_fixup
.quad L_OBJC_METH_VAR_NAME_1
This is different from the "linker_private" linkage type, because it can't have
the metadata defined with ".weak_definition".
Currently only supported on Darwin platforms.
llvm-svn: 107433
|
| |
|
|
| |
llvm-svn: 107215
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
metadata types which should be marked as "weak", but which the linker will
remove upon final linkage. For example, the "objc_msgSend_fixup_alloc" symbol is
defined like this:
.globl l_objc_msgSend_fixup_alloc
.weak_definition l_objc_msgSend_fixup_alloc
.section __DATA, __objc_msgrefs, coalesced
.align 3
l_objc_msgSend_fixup_alloc:
.quad _objc_msgSend_fixup
.quad L_OBJC_METH_VAR_NAME_1
This is different from the "linker_private" linkage type, because it can't have
the metadata defined with ".weak_definition".
llvm-svn: 107205
|
| |
|
|
| |
llvm-svn: 81445
|
| |
|
|
|
|
|
|
|
| |
"private" symbols which the assember shouldn't strip, but which the linker may
remove after evaluation. This is mostly useful for Objective-C metadata.
This is plumbing, so we don't have a use of it yet. More to come, etc.
llvm-svn: 76385
|
| |
|
|
| |
llvm-svn: 76070
|
| |
|
|
|
|
|
|
| |
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.
llvm-svn: 75846
|
| |
|
|
| |
llvm-svn: 75791
|
| |
|
|
| |
llvm-svn: 74640
|
| |
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 74614
|
| |
|
|
|
|
|
|
| |
to support C99 inline, GNU extern inline, etc. Related bugzilla's
include PR3517, PR3100, & PR2933. Nothing uses this yet, but it
appears to work.
llvm-svn: 68940
|
| |
|
|
|
|
|
| |
their main routines. This makes the tools print their argc/argv
commands if they crash.
llvm-svn: 66248
|
| |
|
|
| |
llvm-svn: 62279
|
| |
|
|
|
|
| |
and llvm-nm (prints as C).
llvm-svn: 51209
|
| |
|
|
| |
llvm-svn: 45421
|
| |
|
|
|
|
| |
commands and into the common code.
llvm-svn: 42752
|
| |
|
|
|
|
| |
Almost all occurrences of "bytecode" in the sources have been eliminated.
llvm-svn: 37913
|
| |
|
|
| |
llvm-svn: 37766
|
| |
|
|
| |
llvm-svn: 36900
|
| |
|
|
| |
llvm-svn: 36868
|
| |
|
|
| |
llvm-svn: 36847
|
| |
|
|
|
|
| |
file other than one named "-".
llvm-svn: 35478
|
| |
|
|
| |
llvm-svn: 34917
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
llvm-svn: 34012
|
| |
|
|
|
|
| |
confusion with external linkage types.
llvm-svn: 33663
|
| |
|
|
|
|
| |
With this change, I can now move -stats to print when llvm_shutdown is called.
llvm-svn: 32250
|
| |
|
|
| |
llvm-svn: 29449
|
| |
|
|
|
|
|
| |
in lib/Bytecode/Archive/Makefile is now removed. One small step closer to
a smaller LLVM.
llvm-svn: 29067
|
| |
|
|
|
|
| |
by Anton Korobeynikov! This is a step towards closing PR786.
llvm-svn: 28447
|
| |
|
|
|
|
|
|
|
|
|
| |
Change interface to Path class:
readable -> canRead
writable -> canWrite
executable -> canExecute
More (incremental) changes coming to close 495.
llvm-svn: 22345
|
| |
|
|
| |
llvm-svn: 21428
|
| |
|
|
| |
llvm-svn: 20616
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
llvm-svn: 19192
|
| |
|
|
|
|
| |
Remove #inclusion of Support/FileUtilities.h which isn't needed any more.
llvm-svn: 18950
|
| |
|
|
|
|
| |
Use sys::Path not FileUtilities to check file types
llvm-svn: 18865
|
| |
|
|
|
|
| |
table for archives
llvm-svn: 17795
|
| |
|
|
|
|
|
|
| |
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/.
llvm-svn: 16137
|
| |
|
|
| |
llvm-svn: 16091
|
| |
|
|
| |
llvm-svn: 14867
|
| |
|
|
| |
llvm-svn: 14623
|
| |
|
|
| |
llvm-svn: 13813
|
| |
|
|
| |
llvm-svn: 13091
|
| |
|
|
|
|
| |
tool.
llvm-svn: 11632
|
| |
|
|
| |
llvm-svn: 10099
|