[PATCH] D11110: Make ExecutionEngine owning a DataLayout

Mehdi AMINI mehdi.amini at apple.com
Fri Jul 10 15:13:42 PDT 2015


joker.eph created this revision.
joker.eph added a reviewer: lhames.
joker.eph added subscribers: yaron.keren, rafael, llvm-commits, echristo.

This change is part of a series of commits dedicated to have a single
DataLayout during compilation by using always the one owned by the
module.

The ExecutionEngine is a bit of an exception because it needs a
DataLayout for the purpose of name mangling based on string. Since
no type or other pointer to LLVM internal is involved, it is safe
for it to be reused here across multiple modules.

http://reviews.llvm.org/D11110

Files:
  include/llvm/ExecutionEngine/ExecutionEngine.h
  lib/ExecutionEngine/ExecutionEngine.cpp
  lib/ExecutionEngine/ExecutionEngineBindings.cpp
  lib/ExecutionEngine/Interpreter/Execution.cpp
  lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
  lib/ExecutionEngine/Interpreter/Interpreter.cpp
  lib/ExecutionEngine/Interpreter/Interpreter.h
  lib/ExecutionEngine/MCJIT/MCJIT.cpp
  lib/ExecutionEngine/Orc/OrcMCJITReplacement.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11110.29497.patch
Type: text/x-patch
Size: 16404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150710/3cff0005/attachment.bin>


More information about the llvm-commits mailing list