1 //===- CallGraphSort.h ------------------------------------------*- C++ -*-===//
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLD_ELF_CALL_GRAPH_SORT_H
11 #define LLD_ELF_CALL_GRAPH_SORT_H
13 #include "llvm/ADT/DenseMap.h"
17 class InputSectionBase;
19 llvm::DenseMap<const InputSectionBase *, int> computeCallGraphProfileOrder();