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 5e61ec8 commit a728258Copy full SHA for a728258
lab6/llvm-pass.so.cc
@@ -12,6 +12,7 @@ PreservedAnalyses LLVMPass::run(Module &M, ModuleAnalysisManager &MAM) {
12
LLVMContext &Ctx = M.getContext();
13
IntegerType *Int32Ty = IntegerType::getInt32Ty(Ctx);
14
Type *Int8PtrTy = Type::getInt8PtrTy(Ctx);
15
+
16
FunctionCallee debug_func = M.getOrInsertFunction("debug", Int32Ty);
17
ConstantInt *debug_arg = ConstantInt::get(Int32Ty, 48763);
18
0 commit comments