aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Orc/Shared/SymbolStringPool.cpp
blob: 9ca4e59288ecf4c35d353fb20c392002c1b2b689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//===------- SymbolStringPool.cpp - SymbolStringPool implementation -------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "llvm/ExecutionEngine/Orc/SymbolStringPool.h"
#include "llvm/Support/raw_ostream.h"

namespace llvm::orc {

raw_ostream &operator<<(raw_ostream &OS, const SymbolStringPtrBase &Sym) {
  return OS << Sym.S->first();
}

} // namespace llvm::orc