diff options
Diffstat (limited to 'tools/llvm-readobj/llvm-readobj.h')
-rw-r--r-- | tools/llvm-readobj/llvm-readobj.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/llvm-readobj/llvm-readobj.h b/tools/llvm-readobj/llvm-readobj.h index cc5c85d..0413948 100644 --- a/tools/llvm-readobj/llvm-readobj.h +++ b/tools/llvm-readobj/llvm-readobj.h @@ -18,10 +18,8 @@ namespace llvm { class RelocationRef; } - class error_code; - // Various helper functions. - bool error(error_code ec); + bool error(std::error_code ec); bool relocAddressLess(object::RelocationRef A, object::RelocationRef B); } // namespace llvm @@ -40,6 +38,7 @@ namespace opts { extern llvm::cl::opt<bool> ExpandRelocs; extern llvm::cl::opt<bool> CodeViewLineTables; extern llvm::cl::opt<bool> ARMAttributes; + extern llvm::cl::opt<bool> MipsPLTGOT; } // namespace opts #define LLVM_READOBJ_ENUM_ENT(ns, enum) \ |