Skip to content

Commit 7069144

Browse files
committed
[ORC] Add an ExecutionSession::getPageSize convenience method.
This forwards to ExecutorProcessControl::getPageSize and saves clients from spelling out .getExecutorProcessControl() everywhere.
1 parent b223229 commit 7069144

File tree

1 file changed

+3
-0
lines changed
  • llvm/include/llvm/ExecutionEngine/Orc

1 file changed

+3
-0
lines changed

llvm/include/llvm/ExecutionEngine/Orc/Core.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1434,6 +1434,9 @@ class ExecutionSession {
14341434
/// Return the triple for the executor.
14351435
const Triple &getTargetTriple() const { return EPC->getTargetTriple(); }
14361436

1437+
// Return the page size for the executor.
1438+
size_t getPageSize() const { return EPC->getPageSize(); }
1439+
14371440
/// Get the SymbolStringPool for this instance.
14381441
std::shared_ptr<SymbolStringPool> getSymbolStringPool() {
14391442
return EPC->getSymbolStringPool();

0 commit comments

Comments
 (0)