MichaReiser / llvm-node

LLVM 9.0+ Node Bindings
MIT License
183 stars 29 forks source link

Cannot find Builder.createUnreachable #131

Open elliott-wen opened 3 years ago

elliott-wen commented 3 years ago

Hello,

Builder.createUnreachable seems missing. Sometimes this function may be quite useful, for example, building a trap basic block, where we do not want a terminator branching.

Thanks

ApsarasX commented 3 years ago

https://github.com/ApsarasX/llvm-bindings/commit/9d91aa6234cb3bb810fdad740b85c705c2302aa7