annotate lld/ELF/CallGraphSort.h @ 192:d7606dcf6fce

Added tag llvm10 for changeset 0572611fdcc8
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 14 Dec 2020 18:01:34 +0900
parents 1d019706d866
children c4bab56944e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 //===- CallGraphSort.h ------------------------------------------*- C++ -*-===//
anatofuz
parents:
diff changeset
2 //
anatofuz
parents:
diff changeset
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
anatofuz
parents:
diff changeset
4 // See https://llvm.org/LICENSE.txt for license information.
anatofuz
parents:
diff changeset
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
anatofuz
parents:
diff changeset
6 //
anatofuz
parents:
diff changeset
7 //===----------------------------------------------------------------------===//
anatofuz
parents:
diff changeset
8
anatofuz
parents:
diff changeset
9 #ifndef LLD_ELF_CALL_GRAPH_SORT_H
anatofuz
parents:
diff changeset
10 #define LLD_ELF_CALL_GRAPH_SORT_H
anatofuz
parents:
diff changeset
11
anatofuz
parents:
diff changeset
12 #include "llvm/ADT/DenseMap.h"
anatofuz
parents:
diff changeset
13
anatofuz
parents:
diff changeset
14 namespace lld {
anatofuz
parents:
diff changeset
15 namespace elf {
anatofuz
parents:
diff changeset
16 class InputSectionBase;
anatofuz
parents:
diff changeset
17
anatofuz
parents:
diff changeset
18 llvm::DenseMap<const InputSectionBase *, int> computeCallGraphProfileOrder();
anatofuz
parents:
diff changeset
19 } // namespace elf
anatofuz
parents:
diff changeset
20 } // namespace lld
anatofuz
parents:
diff changeset
21
anatofuz
parents:
diff changeset
22 #endif