Displaying 7 results from an estimated 7 matches for "main_assembly".
2013 Jun 17
2
[LLVMdev] vmkit java annotations
...l.annotations and @llvm.var.annotation.
However, I was trying to test annotations also in Java, with VMKit. These
are the commands that I run:
javac -Xlint -g -O Main.java
../Release+Asserts/bin/vmjc Main
../Release+Asserts/bin/j3 Main
../../llvm_new/Release+Asserts/bin/llvm-dis < Main.bc > Main_assembly
My small program is :
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.Method;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@interface Red {...
2013 Jun 17
2
[LLVMdev] vmkit java annotations
...>
> However, I was trying to test annotations also in Java, with VMKit. These
> are the commands that I run:
>
> javac -Xlint -g -O Main.java
> ../Release+Asserts/bin/vmjc Main
> ../Release+Asserts/bin/j3 Main
> ../../llvm_new/Release+Asserts/bin/llvm-dis < Main.bc > Main_assembly
>
> My small program is :
>
> import java.lang.annotation.ElementType;
> import java.lang.annotation.Retention;
> import java.lang.annotation.RetentionPolicy;
> import java.lang.annotation.Target;
> import java.lang.reflect.Method;
>
> @Target(ElementType.METHOD)
>...
2013 Jun 17
0
[LLVMdev] vmkit java annotations
...>
> However, I was trying to test annotations also in Java, with VMKit.
> These are the commands that I run:
>
> javac -Xlint -g -O Main.java
> ../Release+Asserts/bin/vmjc Main
> ../Release+Asserts/bin/j3 Main
> ../../llvm_new/Release+Asserts/bin/llvm-dis < Main.bc > Main_assembly
>
> My small program is :
>
> import java.lang.annotation.ElementType;
> import java.lang.annotation.Retention;
> import java.lang.annotation.RetentionPolicy;
> import java.lang.annotation.Target;
> import java.lang.reflect.Method;
>
> @Target(ElementType.METHOD)
>...
2013 Jun 17
0
[LLVMdev] vmkit java annotations
...notations also in Java, with
>> VMKit. These are the commands that I run:
>>
>> javac -Xlint -g -O Main.java
>> ../Release+Asserts/bin/vmjc Main
>> ../Release+Asserts/bin/j3 Main
>> ../../llvm_new/Release+Asserts/bin/llvm-dis < Main.bc > Main_assembly
>>
>> My small program is :
>>
>> import java.lang.annotation.ElementType;
>> import java.lang.annotation.Retention;
>> import java.lang.annotation.RetentionPolicy;
>> import java.lang.annotation.Target;
>> import java.lang.ref...
2013 Jun 26
1
[LLVMdev] vmkit variables internal representation
...------
A non-text attachment was scrubbed...
Name: Main.java
Type: text/x-java
Size: 1943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130626/eced6551/attachment.java>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main_assembly
Type: application/octet-stream
Size: 58318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130626/eced6551/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run.sh
Type: application/x-sh
Size: 516 by...
2013 Jun 25
2
[LLVMdev] vmkit variables internal representation
...94;
For the local variable Q, it seems that the compiler is optimizing and considering store i32 10691, i32* .... (into balance). Do you know how I can compile the code for preserving Q?
I have the commands:
javac -Xlint -g -O Main.java
....vmjc Main
.....j3 Main
......llvm-dis < Main.bc > Main_assembly
For the global variables, I have :
P = ({ i32, i32 }* @MYGL_static, i32 0, i32 1)
balance = ({ i32, i32 }* @MYGL_static, i32 0, i32 0)
Ok, in the bytecode there is no string "P", "balance" etc. I assume they are preserved in internal globals. The most interesting looks:
@17...
2013 Jun 25
2
[LLVMdev] vmkit variables internal representation
Hi Tim,
Thank you for your answer. Tomorrow morning I will update my question after further investigation based on your advice and with the .ll.
________________________________
From: Tim Northover <t.p.northover at gmail.com>
To: Alexandru Ionut Diaconescu <cyrusthevirus001x at yahoo.com>
Cc: "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu>
Sent: Tuesday,