Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 15 Sep 2016 22:14:32 +0100] rev 79
llvm_c_ext: Updated to use `llvm::DINode::DIFlags` rather than just `unsigned`. Added new constantpool `LLVMDIFLags`
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 30 Aug 2016 16:57:29 +0100] rev 78
llvm_c_ext: Improved `LLVMSetMetadata2()` to support also function values
...in addition to instruction values. This is handy to attach data to functions,
such as debugging information. Added Smalltalk API for setting metadata nodes
on instructions and functions.
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 30 Aug 2016 12:29:23 +0100] rev 77
llvm_c_ext: Added `LLVMPrintMetadataToString()`
...and corresponding Smalltalk API. Useful for debugging.
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 26 Aug 2016 21:50:03 +0100] rev 76
llvm_c_ext: Added LLVMSetProcessAllSections()
...as an C interface for llvm::ExecutionEngine::setProcessAllSections(). This
may become handy when one wants to control allocation of sections not strictly
required for execution.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 24 Aug 2016 15:00:24 +0100] rev 75
llvm_c_ext: LLVMGetMetadataKind refactored to use sequence of `if (isa<DIFile>(...)) return ...`
rather than depending on value if `getMedatadataID()`. Values of individual constants
in `llvm::Metadata::MetadataKind` are not stable and change over time (so does the
`getMetadataID()` return value). This leads to funny problems.
Therefore, define our own enum - `LLVMMetadataKind` with stable values and use sequence
of ifs to translate between LLVM metadata class and `LLVMMetadataKind` enum value.
Jan Vrany <jan.vrany@fit.cvut.cz> [Tue, 23 Aug 2016 23:37:31 +0100] rev 74
Show metadata kind in LLVMMetadata print string
...i.e., DILocation@12345678 rather then generic LLVMMetadata@12345678
Jan Vrany <jan.vrany@fit.cvut.cz> [Thu, 11 Aug 2016 09:12:17 +0100] rev 73
Oops, fixed examples after a rename #store:_: to #store:at:
Jan Vrany <jan.vrany@fit.cvut.cz> [Fri, 05 Aug 2016 17:12:05 +0100] rev 72
Added builder support for zext, sext and trunc IR instructions
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 06 Jul 2016 22:40:59 +0100] rev 71
Implemented LLVMType>>sizeInBits/sizeInBytes for all data types
...i.e., also for structures, vectors and arrays.
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 06 Jul 2016 09:53:56 +0100] rev 70
Added builder support for llvm.memset , llvm.memmove and llvm.memcpy intrinsics
For those, use specialized IR builder routines rather than manually
calling the intrinsic. The problem which the latter is that those
instrinsics are overloaded and - for reason not yet known - retrieving
them cause crash. So better strick to LLVM way of doing so - through
IRBuilder.