Skip to content

Commit 4b4d383

Browse files
committed
[BOLT] Update for rename of MemLifetimePolicy in e994f84.
1 parent 92eaeb6 commit 4b4d383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/lib/Rewrite/JITLinkLinker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ bool hasSymbols(const jitlink::Block &B) {
3232
Error markSectionsLive(jitlink::LinkGraph &G) {
3333
for (auto &Section : G.sections()) {
3434
// We only need allocatable sections.
35-
if (Section.getMemLifetimePolicy() == orc::MemLifetimePolicy::NoAlloc)
35+
if (Section.getMemLifetime() == orc::MemLifetime::NoAlloc)
3636
continue;
3737

3838
// Skip empty sections.

0 commit comments

Comments
 (0)