We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c03d184 commit 2be94d1Copy full SHA for 2be94d1
llvm/include/llvm/MC/MCPseudoProbe.h
@@ -55,7 +55,6 @@
55
#define LLVM_MC_MCPSEUDOPROBE_H
56
57
#include "llvm/ADT/DenseSet.h"
58
-#include "llvm/ADT/MapVector.h"
59
#include "llvm/ADT/SmallVector.h"
60
#include "llvm/ADT/StringRef.h"
61
#include "llvm/IR/PseudoProbe.h"
@@ -300,7 +299,8 @@ class MCPseudoProbeSections {
300
299
MCProbeDivisions[FuncSym].addPseudoProbe(Probe, InlineStack);
301
}
302
303
- using MCProbeDivisionMap = MapVector<MCSymbol *, MCPseudoProbeInlineTree>;
+ // TODO: Sort by getOrdinal to ensure a determinstic section order
+ using MCProbeDivisionMap = std::map<MCSymbol *, MCPseudoProbeInlineTree>;
304
305
private:
306
// A collection of MCPseudoProbe for each function. The MCPseudoProbes are
0 commit comments