3

To provide TLS support to orcjit, I'm like to transforom llvm::Modules without TLS emulation to ones that emulateTLS and depend on a Runtime.

Similar functionality is already implemented in TargetLowering::LowerToTLSEmulatedModel, however it does not operate on IR.

So, how can i implement and perform this operation as an llvm::Pass ?

Gaetano
  • 1,090
  • 1
  • 9
  • 25

0 Answers0