Displaying 20 results from an estimated 204 matches for "errstring".
Did you mean:
errorstring
2007 Dec 26
2
[LLVMdev] Instantiating modules from .bc files
Hey there,
I'm relatively new to the llvm scene, and so far I'm liking it quite
a bit. I'm a bit perplexed as to what llvm-gcc's role is in
everything. I've used it to create .bc files for really simple
functions and it seems to do quite well at that, but I've been trying
to figure out how to take the output from llvm-gcc and actually use
it in another program.
2007 Dec 26
0
[LLVMdev] Instantiating modules from .bc files
Hi Danny,
On 2007-12-26, at 15:39, Danny wrote:
> I've noticed that the BitcodeReader appears to be an internal
> module, but the BitstreamReader is public. Should I be using the
> BitstreamReader? If so how.
The generic BitstreamReader class is public because it's used in other
projects, including clang, to serialize data structures other than
LLVM IR. The coding of
2007 Dec 27
1
[LLVMdev] Instantiating modules from .bc files
That worked quite well. Thank you. One question as a follow up: is
there a nice/standard way of including the pre-made bitcode chunks in
with the binaries that are being created which read them?
Bascially, I'd like to have the same functionality, but rather than
having one or more .bc files running around which need to be read at
runtime by an executable, moving that into the code
2009 Oct 06
0
[LLVMdev] 2.6/trunk Execution Engine question
...<GlobalVariable>(mod->getOrInsertGlobal("TestGV",
Type::getInt32Ty(getGlobalContext())));
gv->setInitializer(ConstantInt::get(
Type::getInt32Ty(getGlobalContext()), 24601));
ModuleProvider* modp = new ExistingModuleProvider(mod);
InitializeNativeTarget();
std::string errstring;
ExecutionEngine* eeng = ExecutionEngine::create(modp, false, &errstring,
CodeGenOpt::Default, true);
if ( eeng == NULL )
{
raw_cout << errstring << "\n";
exit(-1);
}
raw_cout << "Fixing to get pointer to global\n";
void* gvp = eeng->getPoi...
2009 Oct 06
1
[LLVMdev] 2.6/trunk Execution Engine question
On Tue, Oct 6, 2009 at 5:49 PM, Reid Kleckner <rnk at mit.edu> wrote:
>> Also, the null pointer is coming from a call to JCE->allocateSpace().
>> This is a virtual function; I'm trying to discover what subclass it
>> is.
>
> So, there's JITEmitter::allocateSpace which overrides
> JITCodeEmitter::allocateSpace(), but *most* of the time it just calls
>
2008 May 22
3
[LLVMdev] How to get a return type of a function with LLVM-C API
Hi LLVM-ers,
I am trying to get a return type of a function(from bitcode file) with
LLVM-C API, but there seems no appropriate API to do that.
I've tried to do that with following code,
----
LLVMModuleRef M;
LLVMMemoryBufferRef MemBuf;
LLVMValueRef F; // Function
LLVMTypeRef RetTy;
char *ErrStr;
//
// -- Load shader module
//
2005 Jan 13
4
Manager API !!!!!!!!!
Hello all
Has anyone had any success with the Manager API ?
I am trying to check an extension status without too much luck I have
the following
<?php
$fp = fsockopen("127.0.0.1", 5038, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "Action: Login\r\n";
$out .=
2013 Jul 17
2
Redirecting libguestfs error messages
Hi,
When I register a callback for events with this function call:
eh = guestfs_set_event_callback(g, message_callback, GUESTFS_EVENT_ALL, 0,
dev);
Shouldnt it capture and redirect messages like this to message_callback():
"libguestfs: error: lstat: /.Trash: No such file or directory"
I still get them in stderr ..
Thanks,
Or
2009 Sep 21
2
How to generate additional debug messages for sshd gssapi failures?
I'm trying to troubleshoot gssapi_with_mic authentication with OpenSSH
5.2p1 on FreeBSD 8.0.
If I run sshd with maximum debug "sshd -ddd" the most detail I get is:
GSSAPI MIC check failed
That comes from line 282 in auth2-gss.c
279 if (!GSS_ERROR(PRIVSEP(ssh_gssapi_checkmic(gssctxt, &gssbuf, &mic))))
280 authenticated =
2016 Jun 11
3
SegFault creating a ExecutionEngine
My code to create an ExecutionEngine is segfaulting:
std::string errStr;
llvm::ExecutionEngine * ee = llvm::EngineBuilder(
unique_ptr<llvm::Module>(module) )
.setErrorStr( &errStr ) //line 1618
.setEngineKind( llvm::EngineKind::JIT )
Where module is a `llvm::Module*`. This is code I'm migrating from 3.3
to 3.8. Since the deletion error is happening during
2010 Aug 12
1
[LLVMdev] error when trying to create a JIT execution engine "Interpreter has not been linked in"
I've been following this guide: http://llvm.org/docs/tutorial/LangImpl4.html
and am getting an error when trying to create an execution engine. When
running this code:
executionEngine = llvm::EngineBuilder(module).setErrorStr(&errStr).create();
errStr contains: "Interpreter has not been linked in." I'm using this
command to build:
g++ -g errors.o lexer.o parser.o lang.o
2005 Dec 28
2
PHP Manager
Hi all,
I have a small problem to execute Asterisk Commands in Asterisk
Manager using PHP.
I am able to run all Asterisk Manager command but the problem is
comming with asterisk command.
here is the code i am trying to run.
<?php
$socket = fsockopen("localhost","5038", $errno, $errstr, $timeout);
fputs($socket, "Action: Login\r\n");
fputs($socket,
2018 Apr 19
2
How to set Target/Triple of ExecutionEngine
I don't know if I'm setting the triple of my execution engine
correctly. This is leading to an issue where a struct `{i8,i64}` is not
getting the same layout as the ABI expects.
I setup my engine/module like this:
llvm::SmallVector<std::string,2> mattrs;
llvm::EngineBuilder builder{ unique_ptr<llvm::Module>(module) };
llvm::ExecutionEngine * ee = builder.
2007 Dec 06
3
XenApi
I originally posted this to the xenapi mailing list but i dont think many
are on there... here''s my question.
My first attempt at this, trying to get php to interface with
/var/run/xend/xen-api.sock (or even 127.0.0.1:9363 for that matter). I can
make a connection to both the unix socket and the inet socket and write/read
data. The problem is i always get the same responce back, also
2003 Aug 13
1
How do i configure so an incoming call triggers an http request?
Hi all,
I'm about to start setting up my first asterisk/cti system in our test lab.
I've read through all the documentation I can find and relevant posts in the
list archives but can't seem to find anything explaining how to go about
initiating an http request upon an incoming call.
I basically want asterisk to request an uri on our intranet, which will pass
call details to our
2005 Jun 10
1
Convert extensions.conf INTO MySQL script
I swear I read somewhere on one of the MANY pages that there is a script out
there that can read the extensions.conf file and create the MySQL DB records
on the fly. Anyone know where I look for such a thing?
Sure speeds up migration!
Chris Coulthurst
chris@shuksan.com
2013 Feb 23
0
click2call with AMI?
Hi,
I have a PHP code with AMI to using in click2call system.
here is my code:
$user = "usernamr";
$secret = "secret";
$channel = 'SIP/' . $sip;
$context = "from-internal";
$waitTime = "20";
$timeout = 20000;
$priority = "1";
$maxRetry = "2";
$pos = strpos($number,
2013 Jul 17
0
Re: Redirecting libguestfs error messages
On Wed, Jul 17, 2013 at 04:43:34PM +0300, Or Goshen wrote:
> Hi,
>
> When I register a callback for events with this function call:
> eh = guestfs_set_event_callback(g, message_callback, GUESTFS_EVENT_ALL, 0,
> dev);
>
> Shouldnt it capture and redirect messages like this to message_callback():
> "libguestfs: error: lstat: /.Trash: No such file or directory"
2011 Aug 01
1
Problems with AMI connections (Asterisk 1.8.3.2)
Hi guys, I hope you could help me.
I am trying to get connected through AMI but something is not working. Both
php code and manager.conf were working well in asterisk 1.4
1. Sometimes it gets connected and sometimes it doesn't:
== Connect attempt from '192.168.25.241' unable to authenticate
== Connect attempt from '192.168.25.241' unable to authenticate
== Manager
2009 Nov 25
0
[LLVMdev] [llvm-commits] [llvm] r89765 - in /llvm/trunk: include/llvm/System/Path.h lib/System/Unix/Path.inc lib/System/Win32/Path.inc
G'Day,
Following Daniels comments about semantics of the sys::Path API,
he has convinced me otherwise as the driver doesn't make or remove
directories, so his semantics do indeed make more sense in this
context.
Fixes applied here;
LLVM:
http://llvm.org/viewvc/llvm-project?view=rev&revision=89848
Clang:
http://llvm.org/viewvc/llvm-project?view=rev&revision=89849
Thanks everyone