//===- xray-fc-account.cpp: XRay Function Call Accounting Tool ------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // Implementation of the helper tools dealing with XRay-generated function ids. // //===----------------------------------------------------------------------===// #include "func-id-helper.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Path.h" #include <sstream> usingnamespacellvm; usingnamespacexray; std::string FuncIdConversionHelper::SymbolOrNumber(int32_t FuncId) const { … } std::string FuncIdConversionHelper::FileLineAndColumn(int32_t FuncId) const { … }