diff --git a/compiler-rt/lib/msan/msan.cpp b/compiler-rt/lib/msan/msan.cpp --- a/compiler-rt/lib/msan/msan.cpp +++ b/compiler-rt/lib/msan/msan.cpp @@ -31,10 +31,6 @@ #include "ubsan/ubsan_flags.h" #include "ubsan/ubsan_init.h" -#ifdef kda_COMMENTED_OUT -extern "C" void __sanitizer_symbolize_pc(void *pc, const char *fmt, char *out_buf, uptr out_buf_size); -#endif /* kda_COMMENTED_OUT */ - // ACHTUNG! No system header includes in this file. using namespace __sanitizer; diff --git a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp --- a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp @@ -3916,9 +3916,6 @@ void instrumentAlloca(AllocaInst &I, Instruction *InsPoint = nullptr) { if (!InsPoint) InsPoint = &I; -#ifdef kda_COMMENTED_OUT - llvm::errs() << I << "-" << *InsPoint << "=" << *(InsPoint->getNextNode()) << '\n'; -#endif /* kda_COMMENTED_OUT */ IRBuilder<> IRB(InsPoint->getNextNode()); IRB.SetCurrentDebugLocation(InsPoint->getDebugLoc()); const DataLayout &DL = F.getParent()->getDataLayout();