Skip to content

Commit 34313eb

Browse files
committed
[JITLink] Ensure Edges order is deterministic
1 parent c025bd1 commit 34313eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/ExecutionEngine/JITLink/SEHFrameSupport.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#ifndef LLVM_EXECUTIONENGINE_JITLINK_SEHFRAMESUPPORT_H
1414
#define LLVM_EXECUTIONENGINE_JITLINK_SEHFRAMESUPPORT_H
1515

16+
#include "llvm/ADT/SetVector.h"
1617
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
1718
#include "llvm/ExecutionEngine/JITSymbol.h"
1819
#include "llvm/Support/Error.h"
@@ -38,7 +39,7 @@ class SEHFrameKeepAlivePass {
3839
// count for the fate of seh frame block.
3940
for (auto *B : S->blocks()) {
4041
auto &DummySymbol = G.addAnonymousSymbol(*B, 0, 0, false, false);
41-
DenseSet<Block *> Children;
42+
SetVector<Block *> Children;
4243
for (auto &E : B->edges()) {
4344
auto &Sym = E.getTarget();
4445
if (!Sym.isDefined())

0 commit comments

Comments
 (0)