xref: /llvm-project/llvm/lib/DebugInfo/GSYM/FunctionInfo.cpp (revision 7fcc2c2b5a9e02175cc3154f4f3983395f9840a3)
1 //===- FunctionInfo.cpp -----------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #include "llvm/DebugInfo/GSYM/FunctionInfo.h"
11 
12 using namespace llvm;
13 using namespace gsym;
14 
15 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const FunctionInfo &FI) {
16   OS << '[' << HEX64(FI.Range.Start) << '-' << HEX64(FI.Range.End) << "): "
17      << "Name=" << HEX32(FI.Name) << '\n' << FI.LineTable << FI.Inline;
18   return OS;
19 }
20