diff options
author | Juergen Ributzka <juergen@ributzka.de> | 2018-11-28 21:38:28 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@ributzka.de> | 2018-11-28 21:38:28 +0000 |
commit | dec0696345925e8eadc515031949d4cf4dba4e2e (patch) | |
tree | 505572176bdd2c9f0ea2d9573146f07e3fb53fbd /llvm/lib/TextAPI/MachO/Symbol.cpp | |
parent | eb6759bbf9eaa43d457d84426f37a8ebd424b763 (diff) | |
download | llvm-dec0696345925e8eadc515031949d4cf4dba4e2e.zip llvm-dec0696345925e8eadc515031949d4cf4dba4e2e.tar.gz llvm-dec0696345925e8eadc515031949d4cf4dba4e2e.tar.bz2 |
Revert "[TextAPI] TBD Reader/Writer"
Reverting to unbreak bots.
llvm-svn: 347809
Diffstat (limited to 'llvm/lib/TextAPI/MachO/Symbol.cpp')
-rw-r--r-- | llvm/lib/TextAPI/MachO/Symbol.cpp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/llvm/lib/TextAPI/MachO/Symbol.cpp b/llvm/lib/TextAPI/MachO/Symbol.cpp deleted file mode 100644 index 717a5b5..0000000 --- a/llvm/lib/TextAPI/MachO/Symbol.cpp +++ /dev/null @@ -1,51 +0,0 @@ -//===- lib/TextAPI/Symbol.cpp - Symbol --------------------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -/// -/// \file -/// \brief Implements the Symbol -/// -//===----------------------------------------------------------------------===// - -#include "llvm/TextAPI/MachO/Symbol.h" -#include <string> - -namespace llvm { -namespace MachO { - -#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) -LLVM_DUMP_METHOD void Symbol::dump(raw_ostream &OS) const { - std::string Result; - if (isUndefined()) - Result += "(undef) "; - if (isWeakDefined()) - Result += "(weak-def) "; - if (isWeakReferenced()) - Result += "(weak-ref) "; - if (isThreadLocalValue()) - Result += "(tlv) "; - switch (Kind) { - case SymbolKind::GlobalSymbol: - Result + Name.str(); - break; - case SymbolKind::ObjectiveCClass: - Result + "(ObjC Class) " + Name.str(); - break; - case SymbolKind::ObjectiveCClassEHType: - Result + "(ObjC Class EH) " + Name.str(); - break; - case SymbolKind::ObjectiveCInstanceVariable: - Result + "(ObjC IVar) " + Name.str(); - break; - } - OS << Result; -} -#endif - -} // end namespace MachO. -} // end namespace llvm. |