]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lld/ELF/CallGraphSort.h
Merge clang 7.0.1 and several follow-up changes
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lld / ELF / CallGraphSort.h
1 //===- CallGraphSort.h ------------------------------------------*- C++ -*-===//
2 //
3 //                             The LLVM Linker
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLD_ELF_CALL_GRAPH_SORT_H
11 #define LLD_ELF_CALL_GRAPH_SORT_H
12
13 #include "llvm/ADT/DenseMap.h"
14
15 namespace lld {
16 namespace elf {
17 class InputSectionBase;
18
19 llvm::DenseMap<const InputSectionBase *, int> computeCallGraphProfileOrder();
20 } // namespace elf
21 } // namespace lld
22
23 #endif