Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] llvm compiler"
2013 Feb 10
2
[LLVMdev] llvm-installation
hello sir,
in llvm installation ./configure command worked properly but while
giving
make -j 4 command in ubuntu
everything got build properly but at last it showed error as
llvm[4]: Linking Debug+Asserts executable clang
collect2: ld terminated with signal 9 [Killed]
make[4]: *** [/home/manoj/Desktop/LLVM/
build/Debug+Asserts/bin/clang] Error 1
make[4]: Leaving directory
2013 Feb 11
2
[LLVMdev] llvm pass
hello sir,
i build llvm-clang successfully in my pc but while running a pass i am
geetting this error
praveen at ubuntu:~/Desktop/LLVM/
build/Release$ opt -load /lib/LLVMHello.so --help
Error opening '/lib/LLVMHello.so': /lib/LLVMHello.so: cannot open shared
object file: No such file or directory
-load request ignored.
please help me to overcome the error.
-------------- next part
2013 Feb 10
2
[LLVMdev] llvm installation
hello sir,
i am using llvm compiler for my project.i an doing llvm
installation.i followed all the steps in the llvm website but after running
this command
../llvm/configure --enable-targets=host-only it executed but it didnt
create any make file in build directory ,only config.log file is appeared
after running this command.
after running the later command it is showing like this
2013 Feb 10
0
[LLVMdev] llvm-installation
You should use make -j with a number lower than 4, it looks like you ran
out of memory when linking.
On 10 February 2013 15:41, Manoj C <manoj.chinthala at gmail.com> wrote:
> hello sir,
> in llvm installation ./configure command worked properly but while
> giving
> make -j 4 command in ubuntu
>
> everything got build properly but at last it showed error as
>
>
2013 Feb 10
0
[LLVMdev] llvm installation
configure:12131: $? = 0
configure:12145: result: yes
configure:12157: checking tool compatibility
configure:12180: error: g++|clang++|icc required but not found
configure can't find a c++ compiler. On Ubuntu, please install g++ (sudo
apt-get install g++).
This error should have been written to your console when you ran configure.
On Sun, Feb 10, 2013 at 8:35 AM, Manoj C
2013 Feb 11
0
[LLVMdev] llvm pass
---------- Forwarded message ----------
From: Manoj C <manoj.chinthala at gmail.com>
Date: Mon, Feb 11, 2013 at 11:05 AM
Subject: llvm pass
To: llvmdev at cs.uiuc.edu
hello sir,
i build llvm-clang successfully in my pc but while running a pass i am
geetting this error
praveen at ubuntu:~/Desktop/LLVM/
build/Release$ opt -load /lib/LLVMHello.so --help
Error opening
2013 Jan 21
2
[LLVMdev] request
sir,
i am in a need of llvm compiler but i do not know how to install
it. can you please help me by providing installation steps.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130121/1a00db9d/attachment.html>
2013 Feb 11
2
[LLVMdev] Emulating an infinite register file in the backend
Hi Justin and all,
you've mentioned that you used an easy "trick" for defining an
infinite register file in the backend.
Does this involve defining a single dummy register, and then adding
this dummy reg to each register class? Is anything more needed? I
refer to the RegisterInfo.td file, as e.g:
llvm-3.0.src/lib/Target/PTX/PTXRegisterInfo.td
I'm (just starting)
2017 Aug 29
5
Is the flow "llvm-extract -> llvm-link -> clang++ " supposed to be used in this way? To Extract and Re-insert functions?
Hi all,
First post to the list, I hope you can help or guide me on this task.
I am involved in a project that requires to re-link extracted and edited IR
code
Thus I want to know if these tools can be used in this way?
clang++-4.0 code03.cpp -emit-llvm -S -o code03.ll
llvm-extract-4.0 code03.ll -func main -S -o extracted_main.ll
llvm-link-4.0 code03.ll -only-needed -override extracted_main.ll
2012 Jan 27
2
[LLVMdev] How to get the string value?
Hi, if I have some LLVM code like this:
@.str = private unnamed_addr constant [7 x i8] c"in_arr\00", align 1
@.str1 = private unnamed_addr constant [8 x i8] c"in_arr2\00", align 1
@.str2 = private unnamed_addr constant [8 x i8] c"out_arr\00", align 1
...
...
call void (...)* @_Z16fooz(i8* *getelementptr inbounds ([7 x i8]* @.str,
i64 0, i64 0)*, i32 0, i32 1024)
2011 Sep 09
3
[LLVMdev] runStaticConstructorsDestructors not calling static destructors
Hi there,
I'm having trouble getting ExecutionEngine->runStaticConstructorsDestructors(module, true) to actually trigger static destructors in my code. The static constructors however do get called.
I don't know if this is an LLVM or Clang issue, from looking at the IR (see below) it looks like the destructor is being tied to cxa_atexit, and I wonder if that is not called by
2012 Nov 20
1
[LLVMdev] Removing unused global constant
Hi
I create a simple bytecode file with clang -c -emit-llvm test.c -o test.bc
#include <stdio.h>
void hello(){
printf("hello\n");
}
void hello2(){
printf("hello2\n");
}
Then i want to keep only the hello function so i do :
llvm-extract -func=hello -o test2.bc test.bc
but the string constants are removed and "@.str" is marked as external
@str
2011 Sep 09
0
[LLVMdev] runStaticConstructorsDestructors not calling static destructors
On Fri, Sep 9, 2011 at 1:36 PM, Graham Wakefield <wakefield at mat.ucsb.edu> wrote:
> Hi there,
>
> I'm having trouble getting ExecutionEngine->runStaticConstructorsDestructors(module, true) to actually trigger static destructors in my code. The static constructors however do get called.
>
> I don't know if this is an LLVM or Clang issue, from looking at the IR (see
2017 Oct 01
2
load with alignment of 1 crashes from being unaligned
Below is attached a full IR module that can reproduce this issue, but the
part to notice is this:
%Foo96Bits = type <{ i24, i24, i24, i24 }>
define internal fastcc i16 @main.0.1() unnamed_addr #2 !dbg !113 {
Entry:
%value = alloca %Foo96Bits, align 1
%b = alloca i24, align 4
%0 = bitcast %Foo96Bits* %value to i8*, !dbg !129
call void @llvm.memcpy.p0i8.p0i8.i64(i8* %0, i8* bitcast
2012 Apr 10
0
[LLVMdev] How to explain this weird phenomenon????????
Hi, my friends
I finally insert the callInst into the hello.bc file.Then I compile the hello.bc to hello.o file and the check.c to check.o file. And I think by link those to .o file togetherI can get the executable ELF file(clang hello.o check.o -o finalfile).
But when I link the two objective file, it said
"hello.o: In function `main':
hello.bc:(.text+0x69): undefined reference to
2012 Jan 27
0
[LLVMdev] How to get the string value?
Hi Welson Sun,
> Hi, if I have some LLVM code like this:
>
> @.str = private unnamed_addr constant [7 x i8] c"in_arr\00", align 1
> @.str1 = private unnamed_addr constant [8 x i8] c"in_arr2\00", align 1
> @.str2 = private unnamed_addr constant [8 x i8] c"out_arr\00", align 1
> ...
> ...
>
> call void (...)* @_Z16fooz(i8* *getelementptr
2012 Apr 10
1
[LLVMdev] How to explain this weird phenomenon????????
Your files do not appear to implement the check() function.
On Tue, Apr 10, 2012 at 4:57 PM, 15102925731 <zhenkaixd at 126.com> wrote:
> Hi, my friends
>
> I finally insert the callInst into the hello.bc file.Then I compile the
> hello.bc to hello.o file and the check.c to check.o file. And I think by
> link those to .o file togetherI can get the executable ELF file(clang
2019 Aug 31
3
Usage of the jumptable attribute
Hello everyone,
I'm new to LLVM (which is a really great project by the way) and I hope
this is the right place for my question.
In the LLVM Language Reference Manual I found the "jumptable" function
attribute, which seems to be exactly what I need for my project (where I
want to add one level of indirection to every function call), but I have
trouble figuring out, how to use
2018 Feb 09
3
ThinLTO and linkonce_odr + unnamed_addr
I wonder whether we could change the frontend to always give hidden
visibility to globals which are linkonce_odr unnamed_addr. That way, the
mechanism would just work in ELF as well and would not require LTO.
Peter
On Fri, Feb 9, 2018 at 10:46 AM, Steven Wu via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> The one that doesn’t require global analysis is commit in r324757.
>
>
2018 Feb 08
0
ThinLTO and linkonce_odr + unnamed_addr
> On Feb 8, 2018, at 10:28 AM, Mehdi AMINI <joker.eph at gmail.com> wrote:
>
>
>
> 2018-02-08 9:33 GMT-08:00 Steven Wu <stevenwu at apple.com <mailto:stevenwu at apple.com>>:
>
>
>> On Feb 7, 2018, at 4:03 PM, Mehdi AMINI <joker.eph at gmail.com <mailto:joker.eph at gmail.com>> wrote:
>>
>>
>>
>> 2018-02-07