[llvm] r227776 - [Orc] Add sensible defaults for the ObjectLinkingLayer constructor.
Lang Hames
lhames at gmail.com
Sun Feb 1 17:03:10 PST 2015
Author: lhames
Date: Sun Feb 1 19:03:10 2015
New Revision: 227776
URL: http://llvm.org/viewvc/llvm-project?rev=227776&view=rev
Log:
[Orc] Add sensible defaults for the ObjectLinkingLayer constructor.
Modified:
llvm/trunk/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
Modified: llvm/trunk/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h?rev=227776&r1=227775&r2=227776&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h (original)
+++ llvm/trunk/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h Sun Feb 1 19:03:10 2015
@@ -115,9 +115,9 @@ public:
/// @brief Construct an ObjectLinkingLayer with the given NotifyLoaded,
/// NotifyFinalized and CreateMemoryManager functors.
ObjectLinkingLayer(
- CreateRTDyldMMFtor CreateMemoryManager,
- NotifyLoadedFtor NotifyLoaded,
- NotifyFinalizedFtor NotifyFinalized)
+ CreateRTDyldMMFtor CreateMemoryManager = CreateRTDyldMMFtor(),
+ NotifyLoadedFtor NotifyLoaded = NotifyLoadedFtor(),
+ NotifyFinalizedFtor NotifyFinalized = NotifyFinalizedFtor())
: NotifyLoaded(std::move(NotifyLoaded)),
NotifyFinalized(std::move(NotifyFinalized)),
CreateMemoryManager(std::move(CreateMemoryManager)) {}
More information about the llvm-commits
mailing list