Displaying 3 results from an estimated 3 matches for "addlibrary".
Did you mean:
add_library
2009 Apr 01
2
[LLVMdev] adding header files to code
...files to code in LLVM. I am trying to
create a small profiler to track the actual time spent in functions.
For this i am adding call to clock() in the C code of the given program.
However this will require adding the file time.h to C code. Can some tell
me a way to do so.
I have tried using Module.addLibrary("time.h"); but this doesn't seem to
address the problem because I am not able to get the type clock_t by using
Module.getType() .Moreover only adding just the module.addlibrary does not
add the header file in the generated c code.
It would be a great help if someone could shed light...
2007 Aug 26
1
[LLVMdev] Another question to add to the pile
...stem, this usually works great. We could also
allow overriding resolution on a per-symbol basis as well if it would
be useful (i.e. the jit would invoke a callback).
> However, I'm stumped as to how to resolve references to external C
> functions in my own runtime. I saw the "addLibrary" function in the
> stacker example, but that just takes a module name - it doesn't
> tell the linker/interpreter where the module is located, and there
> doesn't appear to be any command-line options in lli to tell it
> where to find external libraries.
You can use...
2007 Jul 13
0
KWD crashes when opening OOo
...(in /usr/lib/libqt-mt.so.3.3.7)
==31534== by 0x4C952B1: QComLibrary::createInstanceInternal() (in /usr/lib/libqt-mt.so.3.3.7)
==31534== by 0x4C956F4: QComLibrary::queryInterface(QUuid const&, QUnknownInterface**) (in /usr/lib/libqt-mt.so.3.3.7)
==31534== by 0x4CAFF07: QGPluginManager::addLibrary(QLibrary*) (in /usr/lib/libqt-mt.so.3.3.7)
==31534== Address 0x56CD158 is 40 bytes inside a block of size 42 alloc'd
==31534== at 0x4021A55: operator new[](unsigned) (vg_replace_malloc.c:195)
==31534== by 0x4CCAF10: QString::unicodeToLatin1(QChar const*, unsigned) (in /usr/lib/libqt-mt.s...