search for: annot

Displaying 20 results from an estimated 3590 matches for "annot".

Did you mean: cannot
2008 Jun 05
5
[LLVMdev] Using annotation attributes
Hi, I'm trying to annotate certain functions in C code, and do something with these functions in my LLVM pass. I annotate the C code like this: int __attribute__((annotate("annot"))) function() { This nicely gets added to the LLVM bitcode in an @llvm.global.annotations global. Now I had hoped that it'd b...
2008 Jun 25
0
[LLVMdev] Using annotation attributes
Hi all, I've also been developing an interest in using IR annotations for my compiler. Some discussion with Bart turns out that he has implemented some code to parse the llvm.globals.annotations array, but in no way integrated or reusable. We've spent some thought about how this could be done properly, which I will share here. Firstly, however, I was wonde...
2005 Nov 27
1
segfault on write.dcf with gzfile connection
...alloc = TRUE; b = R_alloc(res + 1, sizeof(char)); And here is an example BAD file, but I'm pretty sure any DCF field with a very long value would trigger it: Description: The package provides and API in R to query BioMart system which produces and maintains automatic annotation on system which produces and maintains automatic annotation on system which produces and maintains automatic annotation on system which produces and maintains automatic annotation on system which produces and maintains automatic annotation on system whic...
2013 Jun 17
2
[LLVMdev] vmkit java annotations
Hello everyone, I am able to work very well with annotations in C/C++, by using __attribute__((annotate("MYANNOTATION"))) static int a; . Inside the LLVM bytecode I have @llvm.global.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...
2013 Jun 17
2
[LLVMdev] vmkit java annotations
Hello Harris, Thank you for your answer. So it is there a way of annotating variables in Java Code, so I can see them into LLVM bytecode? Thank you ! On Mon, Jun 17, 2013 at 3:54 PM, Harris BAKIRAS <h.bakiras at gmail.com> wrote: > Hello Alexandru, > > No you did nothing wrong. > > We are using our own data structure to describe annotations i...
2013 Jun 17
0
[LLVMdev] vmkit java annotations
Hello Alexandru, No you did nothing wrong. We are using our own data structure to describe annotations in J3. So it is normal that you can not see your Java annotations inside the LLVM bytecode produced. If I remember well, our implementation of annotations do not rely on LLVM annotations. Regards, Harris Bakiras On 06/17/2013 02:19 PM, Alexandru Ionut Diaconescu wrote: > Hello everyo...
2020 Nov 09
2
RFC: Combining Annotation Metadata and Remarks
...sounds like a great use case! Having multiple different uses cases during the bring-up would be very helpful to make sure the system is flexible enough. > We could also think about a user facing version of this while we are at it ;) > Do you mean providing a way for users to add their own annotation to say C/C++ code? The initial patch contains a Annotation2Metadata pass, which converts Clang annotations (` __attribute__((annotate("_name”))` ) to `!annotation` metadata. This allows users to use something like the snippet below, to annotate all instructions in a function by piggyback...
2009 Feb 25
1
Unexpected side effect of the ":::" operator on the value of isGeneric
Hi, when running the following on a fresh R, library("IRanges") annotation showMethods("annotation") Biobase:::annotation showMethods("annotation") I get (see the "^^^^^" marked output at the bottom): > library("IRanges") Carico il pacchetto richiesto: 'IRanges' The following object(s) are masked from pa...
2013 Jun 17
0
[LLVMdev] vmkit java annotations
What classpath implementation are you using ? GNUClasspath or OpenJDK ? Harris Bakiras On 06/17/2013 03:57 PM, Alexandru Ionut Diaconescu wrote: > Hello Harris, > > Thank you for your answer. So it is there a way of annotating > variables in Java Code, so I can see them into LLVM bytecode? > > Thank you ! > > > On Mon, Jun 17, 2013 at 3:54 PM, Harris BAKIRAS <h.bakiras at gmail.com > <mailto:h.bakiras at gmail.com>> wrote: > > Hello Alexandru, > > No you did not...
2008 Jun 28
1
[LLVMdev] Using annotation attributes
On Jun 25, 2008, at 6:33 AM, Matthijs Kooijman wrote: > Hi all, Howdy Matthijs, > I've also been developing an interest in using IR annotations for my > compiler. > Some discussion with Bart turns out that he has implemented some > code to parse > the llvm.globals.annotations array, but in no way integrated or > reusable. > We've spent some thought about how this could be done properly, > which I will...
2008 Sep 13
1
[LLVMdev] Using annotation attributes
Hi all I have a project where LLVM annotations could be very useful. My current understanding of LLVM in general is still limited, hence a nice interface to annotations or sample code that uses annotations would help me to get started. I was wondering what happened to the proposal for a better interface to handling of annotations...
2006 Feb 24
5
[LLVMdev] Re: gcc like attributes and annotations
hi Chris! thanks for your reply. First of all I did not know about the history with the Annotation stuff. Annotable for me was a way how one could realize this things. So as I see it right now - it is more that Annotable will completly vanish soon. This is interesting to me. Chris Lattner schrieb: > On Fri, 24 Feb 2006, Jakob Praher wrote: > >> When translating a complex c a...
2012 Oct 12
2
[LLVMdev] [Proposal] Annotated assembly output
The following is a brief proposal for annotated assembly (and disassembly) output. Kevin Enderby and I have been discussing this a bit and are interested in getting broader feedback from interested folks. LLVM Rich Assembly Output LLVM's (dis)assembly output is currently very raw. Consumers have limited ability to introspect the in...
2006 Feb 24
2
[LLVMdev] gcc like attributes and annotations
...eresting attribute to put a variable in the thread local data section (.tdata), this would be interesting to have in llvm. like in GCC you write: int x __attribute__((section(".tdata"))); however the llvm bytecode (llvm-gcc -S) does not show anything like this attribute. There is this Annotable base class, which is used to annotate a MachineFunction to a LLVM Function. Function support Annotable but GlobalVariable as of 1.5 not. I would generally be interested and could contribute to extending LLVM by allowing more Annotatinons than currently possible. Why not make things like Instr...
2006 Feb 24
0
[LLVMdev] gcc like attributes and annotations
...quot;))); > > however the llvm bytecode (llvm-gcc -S) does not show anything like this > attribute. LLVM 1.6 and the "new front-end" already handle this right. Here's the bugzilla bug corresponding to it: http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=659 > There is this Annotable base class, which is used to annotate a > MachineFunction to a LLVM Function. Function support Annotable but > GlobalVariable as of 1.5 not. > > I would generally be interested and could contribute to extending LLVM > by allowing more Annotatinons than currently possible. > &g...
2023 Sep 29
1
[PATCH 0/9] drm: Annotate structs with __counted_by
On Fri, 22 Sep 2023 10:32:05 -0700, Kees Cook wrote: > This is a batch of patches touching drm for preparing for the coming > implementation by GCC and Clang of the __counted_by attribute. Flexible > array members annotated with __counted_by can have their accesses > bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS (for array > indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family functions). > > As found with Coccinelle[1], add __counted_by to structs that would > benefit from t...
2023 Sep 29
1
[PATCH 0/9] drm: Annotate structs with __counted_by
On Fri, 22 Sep 2023 10:32:05 -0700, Kees Cook wrote: > This is a batch of patches touching drm for preparing for the coming > implementation by GCC and Clang of the __counted_by attribute. Flexible > array members annotated with __counted_by can have their accesses > bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS (for array > indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family functions). > > As found with Coccinelle[1], add __counted_by to structs that would > benefit from t...
2020 Nov 10
1
RFC: Combining Annotation Metadata and Remarks
...les, ..., are generated and how many survive. > > That sounds like it this should fit in nicely (hopefully) :) >> >>> We could also think about a user facing version of this while we are at it ;) >>> >> Do you mean providing a way for users to add their own annotation to say C/C++ code? >> >> The initial patch contains a Annotation2Metadata pass, which converts Clang annotations (` __attribute__((annotate("_name”))` ) to `!annotation` metadata. This allows users to use something like the snippet below, to annotate all instructions in a fun...
2023 Sep 29
1
[PATCH 0/9] drm: Annotate structs with __counted_by
On Fri, 22 Sep 2023 10:32:05 -0700, Kees Cook wrote: > This is a batch of patches touching drm for preparing for the coming > implementation by GCC and Clang of the __counted_by attribute. Flexible > array members annotated with __counted_by can have their accesses > bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS (for array > indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family functions). > > As found with Coccinelle[1], add __counted_by to structs that would > benefit from t...
2011 Sep 22
1
[LLVMdev] new annotations in IR?
How can they processed? I cant seem to find any solid information about how they exist in IR form from a Passes perspective. I see things like @llvm.var.annotation in dumps but no relevant sounding methods to get at these. Thank you On Thu, Sep 22, 2011 at 1:20 PM, Julien Lerouge <jlerouge at apple.com> wrote: > On Thu, Sep 22, 2011 at 02:46:05AM -0400, Mark Brown wrote: > > With recent work a plugin can now Annotate a VarDecl at the AS...