Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] [PATCH] docs/WritingAnLLVMPass.html: s/heirarchy/hierarchy/"
2009 Oct 12
2
[LLVMdev] [PATCH] docs/Bugpoint.html: mention -debug-pass=Arguments
Hi,
when reporting
http://llvm.org/bugs/show_bug.cgi?id=5104
I spent quite a while trying to figure out what passes are used by
"-O1" so that I could give this list to bugpoint. It turns out
-debug-pass=Arguments is mentioned in docs/HowToSubmitABug.html but
under a chapter titled "Compile-time optimization bugs" which I
naively ignored since my bug was not a compile-time
2009 Oct 12
1
[LLVMdev] current state of building analysis passes out-of-tree with llvm-config?
Hi,
what's the current state of being able to build simple analysis passes
out-of-tree against only llvm headers and libraries with llvm-config?
I see that clang and klee do not use llvm-config but for example
rubinius does. Should both approaches be documented?
Currently for example docs/WritingAnLLVMPass.html says
"you need to create a new directory somewhere in the LLVM source
2017 Mar 21
2
Re: libvirt-guests and time sync on autostart vms
On Mon, Mar 20, 2017 at 9:58 PM, Timo Juhani Lindfors
<timo.lindfors@iki.fi> wrote:
> ıuoʎ <yonjah@gmail.com> writes:
>> I have a host running a few guests all configured to autostart.
>> I'm also using libvirt-guests to suspend the guests when the host
>> restarts or shuts down
>
> I have a similar setup. I solved it by writing a small daemon that syncs
2009 Oct 16
2
[LLVMdev] strace for whole-program bitcodes
Daniel Dunbar wrote:
> On Thu, Oct 15, 2009 at 7:14 AM, Timo Juhani Lindfors
> <timo.lindfors at iki.fi> wrote:
>> Tianwei <tianwei.sheng at gmail.com> writes:
>>> someone suggested me to use gold-plugin, I know nothing about it yet, I will
>>> have a try later. Does anyone have a good solution for this problem?
>> Afaik gold does not help here. I
2009 Sep 29
1
[LLVMdev] converting x86 instructions to LLVM instructions
* Timo Juhani Lindfors (timo.lindfors at iki.fi) wrote:
> Hi,
>
> Alexandre Gouraud <alexandre.gouraud at enst-bretagne.fr> writes:
> > if it does not already exists, could it mean it is a nonsense, then why?
>
> Why don't you compile your program directly to LLVM bitcode?
- In security-testing you sometimes apply black boxing.
I've had a similar idea
2009 Oct 15
0
[LLVMdev] strace for whole-program bitcodes
On Thu, Oct 15, 2009 at 7:14 AM, Timo Juhani Lindfors
<timo.lindfors at iki.fi> wrote:
> Tianwei <tianwei.sheng at gmail.com> writes:
>> someone suggested me to use gold-plugin, I know nothing about it yet, I will
>> have a try later. Does anyone have a good solution for this problem?
>
> Afaik gold does not help here. I tried it and managed to only generate
>
2009 Sep 29
4
[LLVMdev] converting x86 instructions to LLVM instructions
Hi Timo,
Thanks for commenting. I feel like I have to justify why I don't want to use
QEMU, which is fine since my choice is not frozen actually.
QEMU is much more than what I need for dynamically instrumenting software.
My goal is automated testing to find bugs, which can quickly be intensive in
term of computational load. Thus I am trying to get the smallest (and
fastest) tool.
Even using
2009 Oct 30
2
[LLVMdev] strace for whole-program bitcodes
--emit-llvm??
On Fri, Oct 30, 2009 at 7:55 AM, Viktor Kutuzov
<vkutuzov at accesssoftek.com>wrote:
> Hello everyone,
>
> I'm working on passing parameters for gold/LTO plug-in and could add this
> one as well.
> Just need an option name. Could anybody suggest one?
>
> Viktor
>
> ----- Original Message -----
> From: "Nick Lewycky" <nicholas at
2009 Oct 29
0
[LLVMdev] strace for whole-program bitcodes
Hello everyone,
I'm working on passing parameters for gold/LTO plug-in and could add this one as well.
Just need an option name. Could anybody suggest one?
Viktor
----- Original Message -----
From: "Nick Lewycky" <nicholas at mxc.ca>
To: "Daniel Dunbar" <daniel at zuster.org>
Cc: "Kelly, Terence P (HP Labs Researcher)" <terence.p.kelly at
2009 Oct 30
0
[LLVMdev] strace for whole-program bitcodes
--emit-llvm, if not conflict
>>> Paul Davey <plmdvy at gmail.com> 10/30/2009 11:11 AM >>>
--emit-llvm??
On Fri, Oct 30, 2009 at 7:55 AM, Viktor Kutuzov <vkutuzov at accesssoftek.com> wrote:
Hello everyone,
I'm working on passing parameters for gold/LTO plug-in and could add this one as well.
Just need an option name. Could anybody suggest one?
Viktor
2009 Sep 29
2
[LLVMdev] [PATCH] llvm-bcanalyzer: print percentages without scientific notation
Hi,
Andreas Neustifter <astifter-llvm at gmx.at> writes:
> Maybe you can use the already available "include/llvm/Support/Format.h"?
Thanks, that simplifies the patch a lot. See the attached patch.
Btw, llvm-bcanalyzer.cpp seems to also use fprintf -- does mixing it
with errs() cause problems and should it be converted to use format()?
best regards,
Timo Lindfors
2009 Nov 17
0
[LLVMdev] lli -force-interpreter complains about external function
Timo Juhani Lindfors wrote:
> Nick Lewycky<nicholas at mxc.ca> writes:
>> The interpreter uses libffi to make external function calls. However, it
>> needs to be detected at LLVM's compile time. If you're using the
>> released packages, we disabled that because we were worried about users
>> who don't have libffi installed.
>
> This seems to be
2009 Nov 18
2
[LLVMdev] lli -force-interpreter complains about external function
Hi Nick:
Thanks for pointing me to libffi.
Recompile LLVM with libffi does solve the problem of printf.
But it still has other problems:
1) sinf() returns 0 in the interpreter, but returns correct value in JIT
(see hellosin.c)
2) calling pthread_create cause lli to crash in the interpreter mode, but no
problem in JIT (see phello.c).
My questions are:
i) can I call any arbitrary external function
2009 Oct 15
2
[LLVMdev] strace for whole-program bitcodes
Tianwei <tianwei.sheng at gmail.com> writes:
> someone suggested me to use gold-plugin, I know nothing about it yet, I will
> have a try later. Does anyone have a good solution for this problem?
Afaik gold does not help here. I tried it and managed to only generate
native code.
I'm currently investigating an alternative approach to produce
whole-program bitcodes:
1) add
2009 Nov 16
3
[LLVMdev] lli -force-interpreter complains about external function
Nick Lewycky <nicholas at mxc.ca> writes:
> The interpreter uses libffi to make external function calls. However, it
> needs to be detected at LLVM's compile time. If you're using the
> released packages, we disabled that because we were worried about users
> who don't have libffi installed.
This seems to be quite a common problem (I too hit it once, thought it
2009 Nov 18
0
[LLVMdev] lli -force-interpreter complains about external function
Hi Nick:
The first problem have been solved by calling llvm-ld:
$ llvm-ld -o hellosin.llvm hellosin.bc -lm
$ lli -force-interpreter=true -load=/usr/lib/libm.so hellosin.llvm.bc
hello sin: 0.50
The pthread problem remains after llvm-ld:
$ lli -force-interpreter=true -load=/lib/libpthread.so.0 phello.llvm.bc
0 lli 0x08796bf8
Segmentation fault
For those who are getting "invalid
2009 Nov 18
3
[LLVMdev] lli -force-interpreter complains about external function
Xu Yang wrote:
> Hi Nick:
>
> The first problem have been solved by calling llvm-ld:
>
> $ llvm-ld -o hellosin.llvm hellosin.bc -lm
> $ lli -force-interpreter=true -load=/usr/lib/libm.so hellosin.llvm.bc
> hello sin: 0.50
Only because the optimizer saw sin(constant) and folded it away. The
entire program became 'print constant string'. There is certainly a bug
2009 Sep 29
0
[LLVMdev] converting x86 instructions to LLVM instructions
Alexandre Gouraud <alexandre.gouraud at enst-bretagne.fr> writes:
> like to write the same kind of thing, but not using QEMU as they claim in
> the paper, but rather with my own pin tool.
You could also use valgrind to convert x86 to valgrind's IR and then
write a tool to convert that IR to LLVM.
2009 Nov 07
2
[LLVMdev] linking share libraries when building whole-program bitcode file
Hi,all
I'm working on how to build a whole-program bitcode file for big projects
with a general solution,and I met a problem
I simplify it as this:
llvm-gcc -c -emit-llvm test.c
llvm-ld test.o -lpthread //here llvm-ld tells me that "Cannot find library
pthread"
then I do this:
llvm-ld test.o
lli -load=/usr/lib/libpthread.so a.out.bc //lli tells me the
/usr/lib/libpthread.so
2009 Nov 17
0
[LLVMdev] linking share libraries when building whole-program bitcode file
Nan Zhu <zhunansjtu at gmail.com> writes:
> llvm-gcc -c -emit-llvm test.c
>
> llvm-ld test.o -lpthread //here llvm-ld tells me that "Cannot find library
> pthread"
$ llvm-gcc -c -emit-llvm test.c
$ llvm-ld test.o -lpthread
$ ./a.out
Error opening '/usr/lib/libpthread.a': /usr/lib/libpthread.a: invalid ELF header
-load request ignored.
Hello world