Displaying 1 result from an estimated 1 matches for "annotatedvalue".
2013 Feb 27
3
[LLVMdev] llvm get annotations
...nbounds ([3 x i8]* @.str, i32 0, i32 0), i8* getelementptr
inbounds ([9 x i8]* @.str1, i32 0, i32 0), i32 18 }], section
"llvm.metadata"
I have two problems following the examples from
http://stackoverflow.com/questions/4976298/modern-equivalent-of-llvm-annotationmanager:
1. Cannot use `annotatedValue->getUnderlyingObject()` since Value class has
not this method. Instead, I found in LLVM the following methods:
`llvm::GetUnderlyingObject()`,`getUnderlyingObjectFromInt(),
getUnderlyingObjects()`.
I hacked the method `llvm::GetUnderlyingObject()`...that is with Capital G
(different from `getUn...