[all-commits] [llvm/llvm-project] 16f38d: [ORC] Add a utility to support dumping JIT'd objec...

lhames via All-commits all-commits at lists.llvm.org
Thu Nov 14 21:27:25 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 16f38dda292c6e2963e77f722042a9eb5da56d28
      https://github.com/llvm/llvm-project/commit/16f38dda292c6e2963e77f722042a9eb5da56d28
  Author: Lang Hames <lhames at gmail.com>
  Date:   2019-11-14 (Thu, 14 Nov 2019)

  Changed paths:
    M llvm/examples/LLJITExamples/CMakeLists.txt
    A llvm/examples/LLJITExamples/LLJITDumpObjects/CMakeLists.txt
    A llvm/examples/LLJITExamples/LLJITDumpObjects/LLJITDumpObjects.cpp
    A llvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h
    M llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
    M llvm/include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h
    M llvm/lib/ExecutionEngine/Orc/CMakeLists.txt
    M llvm/lib/ExecutionEngine/Orc/CompileUtils.cpp
    A llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp
    M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
    M llvm/lib/ExecutionEngine/Orc/ObjectTransformLayer.cpp

  Log Message:
  -----------
  [ORC] Add a utility to support dumping JIT'd objects to disk for debugging.

Adds a DumpObjects utility that can be used to dump JIT'd objects to disk.
Instances of DebugObjects may be used by ObjectTransformLayer as no-op
transforms.

This patch also adds an ObjectTransformLayer to LLJIT and an example of how
to use this utility to dump JIT'd objects in LLJIT.




More information about the All-commits mailing list