File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed
include/llvm/ExecutionEngine/Orc Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 17
17
#include " error.h"
18
18
#include " executor_address.h"
19
19
#include " orc_rt/c_api.h"
20
- #include < type_traits>
21
20
#include < algorithm>
21
+ #include < type_traits>
22
22
#include < vector>
23
23
24
24
// / This macro should be used to define tags that will be associated with
Original file line number Diff line number Diff line change @@ -179,7 +179,8 @@ class ELFNixPlatform : public Platform {
179
179
// Associate ELFNixPlatform JIT-side runtime support functions with handlers.
180
180
Error associateRuntimeSupportFunctions (JITDylib &PlatformJD);
181
181
182
- void pushInitializersLoop (PushInitializersSendResultFn SendResult, JITDylibSP JD);
182
+ void pushInitializersLoop (PushInitializersSendResultFn SendResult,
183
+ JITDylibSP JD);
183
184
184
185
void rt_recordInitializers (PushInitializersSendResultFn SendResult,
185
186
ExecutorAddr JDHeader);
@@ -190,8 +191,8 @@ class ELFNixPlatform : public Platform {
190
191
// Records the addresses of runtime symbols used by the platform.
191
192
Error bootstrapELFNixRuntime (JITDylib &PlatformJD);
192
193
193
- Error registerPerObjectSections (
194
- jitlink::LinkGraph &G, const ELFPerObjectSectionsToRegister &POSR);
194
+ Error registerPerObjectSections (jitlink::LinkGraph &G,
195
+ const ELFPerObjectSectionsToRegister &POSR);
195
196
196
197
Expected<uint64_t > createPThreadKey ();
197
198
@@ -267,5 +268,4 @@ using SPSELFNixJITDylibDepInfoMap =
267
268
} // end namespace orc
268
269
} // end namespace llvm
269
270
270
- #endif // LLVM_EXECUTIONENGINE_ORC_ELFNIXPLATFORM_H
271
-
271
+ #endif // LLVM_EXECUTIONENGINE_ORC_ELFNIXPLATFORM_H
Original file line number Diff line number Diff line change 1
- // ===------ ELFNixPlatform.cpp - Utilities for executing ELFNix in Orc -----===//
1
+ // ===------ ELFNixPlatform.cpp - Utilities for executing ELFNix in Orc
2
+ // -----===//
2
3
//
3
4
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
5
// See https://llvm.org/LICENSE.txt for license information.
@@ -812,11 +813,11 @@ Error ELFNixPlatform::ELFNixPlatformPlugin::registerInitSections(
812
813
auto &JBS = MP.JDBootstrapStates [&JD];
813
814
for (auto &I : ELFNixPlatformSecs)
814
815
JBS.Initializers .push_back (I);
815
- /* G.allocActions().push_back(
816
- {{},
817
- cantFail(WrapperFunctionCall::Create<SPSRegisterInitSectionsArgs>(
818
- MP.orc_rt_elfnix_deregister_init_sections, HeaderAddr,
819
- ELFNixPlatformSecs))});*/
816
+ /* G.allocActions().push_back(
817
+ {{},
818
+ cantFail(WrapperFunctionCall::Create<SPSRegisterInitSectionsArgs>(
819
+ MP.orc_rt_elfnix_deregister_init_sections, HeaderAddr,
820
+ ELFNixPlatformSecs))});*/
820
821
} else {
821
822
G.allocActions ().push_back (
822
823
{cantFail (WrapperFunctionCall::Create<SPSRegisterInitSectionsArgs>(
You can’t perform that action at this time.
0 commit comments