Skip to content

Commit 3d30213

Browse files
committed
Fix issues related to 14.x upgrade.
1 parent 62eea9b commit 3d30213

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

llvm/include/llvm/Transforms/Yk/ControlPoint.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#ifndef LLVM_TRANSFORMS_YK_CONTROLPOINT_H
22
#define LLVM_TRANSFORMS_YK_CONTROLPOINT_H
33

4-
#include "llvm/IR/PassManager.h"
54
#include "llvm/Pass.h"
65

76
// The name of the "dummy function" that the user puts in their interpreter

llvm/lib/LTO/LTOBackend.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,6 @@ namespace llvm {
7777
extern cl::opt<bool> NoPGOWarnMismatch;
7878
}
7979

80-
static cl::opt<bool>
81-
YkPatchCtrlPoint("yk-patch-control-point",
82-
cl::init(false), cl::NotHidden,
83-
cl::desc("Patch yk_control_point()"));
84-
8580
[[noreturn]] static void reportOpenError(StringRef Path, Twine Msg) {
8681
errs() << "failed to open " << Path << ": " << Msg << '\n';
8782
errs().flush();

llvm/lib/Transforms/Yk/ControlPoint.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
#include "llvm/IR/Verifier.h"
5959
#include "llvm/InitializePasses.h"
6060
#include "llvm/Pass.h"
61+
#include <map>
6162

6263
#define DEBUG_TYPE "yk-control-point"
6364
#define JIT_STATE_PREFIX "jit-state: "

0 commit comments

Comments
 (0)