search for: objbuffers

Displaying 1 result from an estimated 1 matches for "objbuffers".

Did you mean: objbuffersv
2019 Aug 16
2
[ORC] [mlir] Dump assembly from OrcJit
...piler misconfiguration or persistent state bug. One way to dump object files, which works for both LLJIT and custom stacks, is to attach a dummy ObjectCache (see https://github.com/llvm/llvm-project/blob/master/llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp) and dump the ObjBuffers that are passed in to the cache to disk. You can just return 'nullptr' from your dummy cache's getObject method, since you are not really using it as a cache. Alternatively, If you are writing a custom ORC stack there is a second option: You can insert an ObjectTransformLayer between y...