From 7217d27ee63d1b9451550ed2b6d047efe1a92244 Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Fri, 12 Feb 2016 23:51:06 +0000 Subject: [PATCH] Fix Windows buildbot breakage. llvm-svn: 260766 --- llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp b/llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp index ac5449afdc68..23f7c78cb920 100644 --- a/llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp +++ b/llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp @@ -20,6 +20,7 @@ #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/TargetRegisterInfo.h" +#include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" @@ -368,9 +369,9 @@ void HexagonBlockRanges::computeInitialLiveRanges(InstrIndexMap &IndexMap, HexagonBlockRanges::RegToRangeMap HexagonBlockRanges::computeLiveMap( InstrIndexMap &IndexMap) { RegToRangeMap LiveMap; - DEBUG(dbgs() << __func__ << ": index map\n" << IndexMap << '\n'); + DEBUG(dbgs() << LLVM_FUNCTION_NAME << ": index map\n" << IndexMap << '\n'); computeInitialLiveRanges(IndexMap, LiveMap); - DEBUG(dbgs() << __func__ << ": live map\n" + DEBUG(dbgs() << LLVM_FUNCTION_NAME << ": live map\n" << PrintRangeMap(LiveMap, TRI) << '\n'); return LiveMap; } @@ -433,7 +434,7 @@ HexagonBlockRanges::RegToRangeMap HexagonBlockRanges::computeDeadMap( if (TargetRegisterInfo::isVirtualRegister(P.first.Reg)) addDeadRanges(P.first); - DEBUG(dbgs() << __func__ << ": dead map\n" + DEBUG(dbgs() << LLVM_FUNCTION_NAME << ": dead map\n" << PrintRangeMap(DeadMap, TRI) << '\n'); return DeadMap; }