diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h index 1abc9508d93a8..dc080cfc79d12 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h @@ -167,6 +167,10 @@ inline raw_ostream &operator<<(raw_ostream &OS, const ExecutorAddr &A) { return OS << formatv("{0:x}", A.getValue()); } +inline raw_ostream &operator<<(raw_ostream &OS, const ExecutorAddrRange &R) { + return OS << formatv("{0:x} -- {1:x}", R.Start.getValue(), R.End.getValue()); +} + namespace shared { class SPSExecutorAddr {};