summaryrefslogtreecommitdiffstats
path: root/lld/ELF/GdbIndex.h
blob: a17ee6c0e57965cdf51a8ed2fd3eceaf4844ab45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//===- GdbIndex.h --------------------------------------------*- C++ -*-===//
//
//                             The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------------------===//

#ifndef LLD_ELF_GDB_INDEX_H
#define LLD_ELF_GDB_INDEX_H

#include "InputFiles.h"
#include "llvm/Object/ELF.h"

namespace lld {
namespace elf {

template <class ELFT> class InputSection;

template <class ELFT>
std::vector<std::pair<typename ELFT::uint, typename ELFT::uint>>
readCuList(InputSection<ELFT> *Sec);

} // namespace elf
} // namespace lld

#endif
OpenPOWER on IntegriCloud