search for: annotid

Displaying 2 results from an estimated 2 matches for "annotid".

2008 Jun 05
0
[LLVMdev] Using annotation attributes
...his nicely gets added to the LLVM bitcode in an > @llvm.global.annotations global. Now I had hoped that it'd be easy to extract > a list of functions annotated with my annotation using > > AnnotationManager::getID("annot") > and later on: > function->getAnnotation(AnnotID). > > This does not seem to work, unfortunately. Is this supposed to work in this > way, or am I using the wrong functions? I could of course just try to > manually parse the @llvm.global.annotations constant, but that seems rather > tiresome :-) There is no way to get it from the F...
2008 Jun 05
5
[LLVMdev] Using annotation attributes
...ot"))) function() { This nicely gets added to the LLVM bitcode in an @llvm.global.annotations global. Now I had hoped that it'd be easy to extract a list of functions annotated with my annotation using AnnotationManager::getID("annot") and later on: function->getAnnotation(AnnotID). This does not seem to work, unfortunately. Is this supposed to work in this way, or am I using the wrong functions? I could of course just try to manually parse the @llvm.global.annotations constant, but that seems rather tiresome :-) Thanks, Bart Coppens