Skip to content

Latest commit

 

History

History
383 lines (179 loc) · 19.1 KB

CHANGELOG.md

File metadata and controls

383 lines (179 loc) · 19.1 KB

0.4.2 (2022-08-01)

Bug Fixes

  • Type: wrong parameter verification (8180e9c)

Features

  • IR/GlobalVariable: add setInitializer method (a11ad4c)

0.4.1 (2022-07-22)

Bug Fixes

  • ConstantArray: fix ConstantArray::get() to check for the right type (#19)(99a52fe)

0.4.0 (2022-06-27)

Features

  • switch the version of llvm to 14 (c08080a)

0.3.8 (2022-06-06)

Features

  • ConstantArray: add class ConstantArray and some of its methods (3b609cb)
  • ConstantDataArray: add class ConstantDataArray and some of its methods (2f360f2)

0.3.7 (2022-04-27)

Features

  • StructType: add missing methods for StructType (#15) (b76c918)

0.3.6 (2022-03-16)

Features

  • IR: add duplicated getValueType for some subclasses of GlobalValue (ce7c666)

0.3.5 (2022-03-01)

Bug Fixes

  • test: assertion error caused by test case (7961d42)

Features

  • add support for Windows (a85aa9a)

0.3.4 (2022-02-17)

Breaking Changes

  • IR: change the signature of Module.print (9a68779)

Bug Fixes

  • IR: return missing in Module.print (377b1d4)

Features

  • Config: add LLVM Config Macro (825dc3c)
  • IR: add class GetElementPtrInst (cecd9fc)
  • IR: add class SelectInst (8fa33b6)
  • IR: add class VectorType and more instruction classes (30bcc1c)
  • IR: add duplicated getType for all subclasses of Value (2e2bfe8)
  • IR: add Module.getDataLayoutStr and DataLayout.getStringRepresentation (3cc8563)

0.3.3 (2021-12-20)

Bug Fixes

  • Support: symbol not found error in TargetSelect (701c3b3)

Features

  • IR: add class DIDerivedType, class DICompositeType and class DINamespace (40e7471)

0.3.2 (2021-12-18)

Bug Fixes

  • IR: the insertBB passed into DIBuilder.insertDeclare may be null (ea0760b)

Features

  • IR: add DILexicalBlock and DIBuilder.createLexicalBlock (38519e0)
  • IR: add Module.ModFlagBehavior(enum) (2c4f1be)
  • IR: add some classes and methods related to debug information (7531651)
  • IR: supplement more classes and methods related to debug information (4314aaa)
  • IR: supplement some enums related to debug information (c08e087)

0.3.1 (2021-11-09)

Bug Fixes

  • IR: Intrinsic.getDeclaration function parameter handling (c23b779)

Features

  • IR: add class UndefValue (d014816)
  • IR: add overloaded form of IRBuilder constructor (0400bf4)

0.3.0 (2021-10-31)

Features

  • switch the version of llvm to 13 (9210506)

0.2.3 (2021-10-29)

Bug Fixes

  • IR: add missing signature of IRBuilder.CreateResume (a1271cb)
  • IR: address transmission of InsertPoint's temporary object (a07a1fe)
  • IR: IRBuilder.SetInsertPoint typo (e2db57d)

Features

  • IR: add class ConstantExpr (fbe662f)
  • IR: add ConstantExpr.getType (fb751eb)
  • IR: add DataLayout.getTypeAllocSize (18044f0)
  • IR: add Function.hasPersonalityFn, Function.setPersonalityFn and Function.setDoesNotThrow (6238bf6)
  • IR: add Function.insertInto, Function.removeFromParent and Function.eraseFromParent (43fda5c)
  • IR: add Intrinsic (403f747)
  • IR: add InvokeInst and IRBuilder.CreateInvoke (520f7a3)
  • IR: add IRBuilder.CreateInsertValue (6f60ded)
  • IR: add IRBuilder.InsertPoint, IRBuilder.saveIP, IRBuilder.saveAndClearIP and IRBuilder.restoreIP (4303af6)
  • IR: add LandingPadInst, IRBuilder.CreateExtractValue and IRBuilder.CreateLandingPad (2bd479a)
  • IR: add Module.getOrInsertFunction and FunctionCallee (693fdd5)
  • IR: add overloaded form of IRBuilder.CreateCall (1909cb8)
  • IR: add overloaded form of IRBuilder.CreateCall (d150d2c)
  • IR: add overloaded form of IRBuilder.CreateInvoke (815122d)
  • IR: add ResumeInst and IRBuilder.CreateResume (95358ad)
  • IR: add some duplicated methods of Type and Type.isSameType (0d6eabc)
  • IR: add StructType.get (7e27eee)

0.2.2 (2021-10-15)

Features

  • IR: add ConstantFP.getType (7c788b4)
  • IR: add ConstantFP.getType (8106c4e)
  • IR: add Function.deleteBody, Function.removeFromParent and Function.eraseFromParent (e7ad3bf)
  • IR: add Function.getNumUses and Function.removeDeadConstantUsers (a770a28)
  • IR: add GlobalVariable.removeFromParent and GlobalVariable.eraseFromParent (b625e09)
  • IR: add IntegerType.isIntegerTy (3effe47)
  • IR: add IRBuilder.CreateUnreachable (9d91aa6)
  • IR: add PointerType.isIntegerTy (75edd4f)
  • IR: add StructType.isIntegerTy (086e647)
  • IR: add SwitchInst (042c942)
  • IR: add UnreachableInst (ec9666a)
  • IR: add Value.user_empty, Function.use_empty and Function.user_empty (34ccfd7)
  • Linker: add Linker (71437ba)

0.2.1 (2021-09-29)

Bug Fixes

  • IR: update the parameter list format when using llvm::Function::Create (5f0802f)

0.2.0 (2021-05-24)

Features

  • switch the version of llvm to 12 (ff505cc)

0.1.8 (2021-05-24)

Bug Fixes

  • allow undefined or null for middle arguments of BasicBlock.Create and close #5 (84bf31f)
  • error message typo (4f5a356)
  • prevent phi node addIncoming from always throwing and close #4 (9068055)

Features

  • add several duplicated method for #1 (5af02bc)
  • IR: add some duplicated methods due to missing inheritance of node-api (8da2f66)

0.1.7 (2021-04-20)

Bug Fixes

  • IR: fix the problem about verification of ConstantPointerNull.get (f1fcd6f)

Features

  • IR: add some unary operations of IRBuilder (85361c6)

0.1.6 (2021-04-13)

Bug Fixes

  • IR: change the return type of IRBuilder.Create to the corresponding instruction type (45be7ed)

Features

  • IR: add Argument.setName (671a70f)
  • IR: add class ConstantStruct (c1033c6)
  • IR: add Function.getExitBlock (93b55fb)
  • IR: add PointerType.getUnqual (3c4ccbc)
  • IR: add StructType.create and StructType.setBody (b814313)

0.1.5 (2021-03-30)

Features

  • IR: add more methods for BasicBlock, Function, IRBuilder (b1266c2)
  • IR: add overloading function of Module.print (f5fe230)
  • IR: class Value supports receiving null (a1fadd5)

0.1.4 (2021-03-29)

Features

  • IR: add IRBuilder.CreateSelect (33da3bf)

0.1.3 (2021-03-29)

Bug Fixes

  • IR: fix the parameter verification problem of IRBuilder.CreateLoad (df2b800)

0.1.2 (2021-03-28)

Features

  • IR: add IRBuilder.CreateGEP and IRBuilder.CreateInBoundsGEP (47f7c92)

0.1.1 (2021-03-28)

Features

  • IR: add class PHINode and IRBuilder.CreatePHI (3cf11fb)
  • IR: add more create methods of cast instruction in IRBuilder (14a1a70)

0.1.0 (2021-03-28)

Features

  • IR: add class Instruction and supplement several APIs of class BasicBlock (510973f)
  • IR: add IRBuilder.CreateGlobalString and IRBuilder.CreateGlobalStringPtr (02bb15c)
  • IR: add several instruction classes, include AllocaInst, BranchInst, CallInst, LoadInst, ReturnInst and StoreInst (8be97ad)
  • IR: make static 'New' functions of classes with subclasses more precise (b3bbb66)

Performance Improvements

  • use HandleScope in right places (9f6953d)

0.0.4 (2021-03-27)

0.0.3 (2021-03-27)

Bug Fixes

  • Bitcode: correct name of function WriteBitcodeToFile and make up its signature (3e7bfe5)

Features

  • IR: add Class ArrayType (4c2c174)
  • IR: add Class ConstantPointerNull (aedc714)
  • IR: add Class SMDiagnostic and Function parseIRFile (073e9f3)

0.0.2 (2021-03-26)

Features

  • add Class Argument
  • add ConstantFP.getNaN
  • add Function.arg_size and Function.getArg
  • delete Class FunctionCallee
  • supplement more APIs of Class IRBuilder
  • add more test cases
  • add type signature for new APIs

0.0.1 (2021-03-26)

This is the first release of llvm-bindings.

And in this version, llvm-bindings has supported some of high frequency used APIs of LLVM.

The specific classes and functions supported by the version are as follows:

  • ADT: APInt APFloat
  • Bitcode: writeBitcodeToFile
  • IR: LLVMContext Module Type IntegerType PointerType FunctionType StructType Value User Constant ConstantInt ConstantFP GlobalValue GlobalObject GlobalVariable Function BasicBlock FunctionCallee IRBuilder
  • Support: Target TargetRegistry.lookupTarget initializeAllTargetInfos initializeAllTargets initializeAllTargetMCs initializeAllAsmParsers initializeAllAsmPrinters
  • Target: TargetMachine