//===-- llvm-c++filt.cpp --------------------------------------------------===// // // 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 // //===----------------------------------------------------------------------===// #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/Triple.h" #include "llvm/Demangle/Demangle.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Host.h" #include "llvm/Support/InitLLVM.h" #include "llvm/Support/raw_ostream.h" #include #include using namespace llvm; enum Style { Auto, ///< auto-detect mangling GNU, ///< GNU Lucid, ///< Lucid compiler (lcc) ARM, HP, ///< HP compiler (xCC) EDG, ///< EDG compiler GNUv3, ///< GNU C++ v3 ABI Java, ///< Java (gcj) GNAT ///< ADA compiler (gnat) }; static cl::opt