EH Data for MC JIT compiled methods

Is there a way to get the unwind information for a function compiled with MCJIT?

Is there any example class or code out here to do that?

There seems to be a WIn64EH class but I'm not sure how to ask LLVM to
fill it up when it generates code for a method.