Displaying 11 results from an estimated 11 matches for "printr".
Did you mean:
printk
2010 Jun 04
2
[LLVMdev] Inserting a function call into bitcode
...is that you're doing something wrong invoking the JIT;
>there isn't anything obviously wrong with the code from your original
>message.
>
>-Eli
Well I am just using lli to run the linked file (i.e. program.bc). The
command chain is usually as follows.
llvm-g++ --emit-llvm -c PrintRes.cpp -o PrintRes.bc
(PrintRes.bc has the function which I want to call from the
newfile.bc below)
opt -load ../../../Release/lib/CondPass.so -ProfileCond < try.bc >
/dev/null
(this generates newfile.bc while try.bc is original code)
llvm-link -o program.bc newfile.bc PrintRes.bc...
2010 Jun 04
2
[LLVMdev] Inserting a function call into bitcode
Hi Eli,
I have attached a tar file containing Pass (ConditionPass.cpp), External
function (PrintRes.cpp) and test program (try.c). I use command chain as
describe in previous mail.
Thanks,
Nehal.
-----Original Message-----
From: Eli Friedman [mailto:eli.friedman at gmail.com]
Sent: Friday, June 04, 2010 3:39 AM
To: Nehal Gandhi
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Inserting a fu...
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
...oking the JIT;
>>there isn't anything obviously wrong with the code from your original
>>message.
>>
>>-Eli
>
> Well I am just using lli to run the linked file (i.e. program.bc). The
> command chain is usually as follows.
>
> llvm-g++ --emit-llvm -c PrintRes.cpp -o PrintRes.bc
> (PrintRes.bc has the function which I want to call from the
> newfile.bc below)
>
> opt -load ../../../Release/lib/CondPass.so -ProfileCond < try.bc >
> /dev/null
> (this generates newfile.bc while try.bc is original code)
>
>...
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
On Fri, Jun 4, 2010 at 1:09 AM, Nehal Gandhi <nbg2k7 at gmail.com> wrote:
> Hi Eli,
>
> I have attached a tar file containing Pass (ConditionPass.cpp), External
> function (PrintRes.cpp) and test program (try.c). I use command chain as
> describe in previous mail.
Can you just attach the final program.bc you pass to lli? I don't
know how to build a plugin off the top of my head.
-Eli
> Thanks,
> Nehal.
>
> -----Original Message-----
> From: Eli Frie...
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
On Thu, Jun 3, 2010 at 10:45 PM, Nehal Gandhi <nbg2k7 at gmail.com> wrote:
> Hi Eli,
>
>
>
> Thanks for that. Rookie mistake on my side. It solves the linking issue.
> However, it was not the main problem. The problem is when I execute the
> linked file ( modified bitcode + file containing the function), I get an
> assertion error - Assertion `Addr &&
2010 Jun 04
2
[LLVMdev] Inserting a function call into bitcode
Hi Eli,
Thanks for that. Rookie mistake on my side. It solves the linking issue.
However, it was not the main problem. The problem is when I execute the
linked file ( modified bitcode + file containing the function), I get an
assertion error - Assertion `Addr && "Code generation didn't add function to
GlobalAddress table!"' failed.
So my main concern - is that a
2010 Jun 04
1
[LLVMdev] Inserting a function call into bitcode
...M
To: Nehal Gandhi
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Inserting a function call into bitcode
On Fri, Jun 4, 2010 at 1:09 AM, Nehal Gandhi <nbg2k7 at gmail.com> wrote:
> Hi Eli,
>
> I have attached a tar file containing Pass (ConditionPass.cpp), External
> function (PrintRes.cpp) and test program (try.c). I use command chain as
> describe in previous mail.
Can you just attach the final program.bc you pass to lli? I don't
know how to build a plugin off the top of my head.
-Eli
> Thanks,
> Nehal.
-------------- next part --------------
A non-text attac...
2007 Apr 18
0
[Bridge] [PATCH] bridge: fix gcc format warning
...-- ./net/bridge/netfilter/ebt_ulog.c~brnetf_types 2005-01-10 10:38:40.531343592 -0800
+++ ./net/bridge/netfilter/ebt_ulog.c 2005-01-10 12:31:10.076256800 -0800
@@ -135,7 +135,7 @@ static void ebt_ulog(const struct sk_buf
size = NLMSG_SPACE(sizeof(*pm) + copy_len);
if (size > nlbufsiz) {
- PRINTR("ebt_ulog: Size %d needed, but nlbufsiz=%d\n",
+ PRINTR("ebt_ulog: Size %zu needed, but nlbufsiz=%u\n",
size, nlbufsiz);
return;
}
---
2007 Apr 18
0
[Bridge] [EBTABLES][PATCH] fix gcc format warning
...-- ./net/bridge/netfilter/ebt_ulog.c~brnetf_types 2005-01-10 10:38:40.531343592 -0800
+++ ./net/bridge/netfilter/ebt_ulog.c 2005-01-10 12:31:10.076256800 -0800
@@ -135,7 +135,7 @@ static void ebt_ulog(const struct sk_buf
size = NLMSG_SPACE(sizeof(*pm) + copy_len);
if (size > nlbufsiz) {
- PRINTR("ebt_ulog: Size %d needed, but nlbufsiz=%d\n",
+ PRINTR("ebt_ulog: Size %zu needed, but nlbufsiz=%u\n",
size, nlbufsiz);
return;
}
2002 Sep 19
1
Samba 2.2.6pre2 doesn't try to lookup for user user name by SID + pdbedit
I have instaled samba 2.2.6pre2 (due problems with printr drivers download
in 2.2.5) and I have also tried to install it using ldapsam backend.
It seems be working, but there are two problems:
- if I try to display directory ACL (file - properties - security) I show
only the user name, group name and others field are shown only as SIDs.
There is no h...
2009 Dec 18
2
[LLVMdev] [PATCH] dbgs() Use
...odes:";
for (allnodes_const_iterator I = allnodes_begin(), E = allnodes_end();
I != E; ++I) {
@@ -6008,7 +6009,7 @@
if (getRoot().getNode()) DumpNodes(getRoot().getNode(), 2, this);
- errs() << "\n\n";
+ dbgs() << "\n\n";
}
void SDNode::printr(raw_ostream &OS, const SelectionDAG *G) const {
@@ -6049,12 +6050,12 @@
void SDNode::dumpr() const {
VisitedSDNodeSet once;
- DumpNodesr(errs(), this, 0, 0, once);
+ DumpNodesr(dbgs(), this, 0, 0, once);
}
void SDNode::dumpr(const SelectionDAG *G) const {
VisitedSDNodeSet once;
-...