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 Correctly handle Tag_CPU_arch_profile. 2014-11-25 09:30:09 +00:00
ARMAttributeParser.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
ARMEHABIPrinter.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
ARMWinEHPrinter.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
ARMWinEHPrinter.h Support: Delete {aligned_,}{u,}{little,big}8_t 2014-09-11 21:46:33 +00:00
CMakeLists.txt tools: initial implementation of WoA EH decoding 2014-06-04 15:47:15 +00:00
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 MSVC requires redeclarations to repeat noexcept 2014-11-03 20:35:30 +00:00
Error.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
llvm-readobj.cpp [llvm-readobj] Print .MIPS.abiflags section content 2015-05-07 15:40:35 +00:00
llvm-readobj.h Modify llvm-readobj to dump symbol record bytes. 2015-02-18 19:32:05 +00:00
LLVMBuild.txt Don't link with the archive library programs that don't use it. 2013-06-17 15:29:46 +00:00
MachODumper.cpp Remove unused variable, found with gcc-5.1 -Wunused-variable. 2015-04-27 11:03:53 +00:00
Makefile Don't link with the archive library programs that don't use it. 2013-06-17 15:29:46 +00:00
ObjDumper.cpp Re-sort #include lines again, prior to moving headers around. 2014-01-13 08:04:33 +00:00
ObjDumper.h [llvm-readobj] Print .MIPS.abiflags section content 2015-05-07 15:40:35 +00:00
StreamWriter.cpp Implements low-level object file format specific output for COFF and 2013-04-03 18:31:38 +00:00
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 Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00