llvm-6502/tools/llvm-readobj
Rui Ueyama eae4673c2f Remove object_error::success and use std::error_code() instead
make_error_code(object_error) is slow because object::object_category()
uses a ManagedStatic variable. But the real problem is that the function is
called too frequently. This patch uses std::error_code() instead of
object_error::success. In most cases, we return "success", so this patch
reduces number of function calls to that function.

http://reviews.llvm.org/D10333



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239409 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-09 15:20:42 +00:00
..
ARMAttributeParser.cpp
ARMAttributeParser.h
ARMEHABIPrinter.h
ARMWinEHPrinter.cpp
ARMWinEHPrinter.h
CMakeLists.txt
COFFDumper.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
ELFDumper.cpp [llvm-readobj] Use the new symbol API. 2015-06-08 04:55:29 +00:00
Error.cpp
Error.h
llvm-readobj.cpp [llvm-readobj] Print .MIPS.abiflags section content 2015-05-07 15:40:35 +00:00
llvm-readobj.h
LLVMBuild.txt
MachODumper.cpp Remove unused variable, found with gcc-5.1 -Wunused-variable. 2015-04-27 11:03:53 +00:00
Makefile
ObjDumper.cpp
ObjDumper.h [llvm-readobj] Print .MIPS.abiflags section content 2015-05-07 15:40:35 +00:00
StreamWriter.cpp
StreamWriter.h [llvm-readobj/obj2yaml/yaml2obj] Support MIPS machine ELF header flags 2015-05-08 07:04:59 +00:00
Win64EHDumper.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
Win64EHDumper.h