llvm-6502/tools/obj2yaml
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
..
CMakeLists.txt Install the obj2yaml and yaml2obj utilities together with other LLVM tools. 2014-07-29 18:28:16 +00:00
coff2yaml.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
elf2yaml.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
Error.cpp Added missing LLVM_NOEXCEPT to the definition of _obj2yaml_error_category::name 2014-09-11 17:19:54 +00:00
Error.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
Makefile Install the obj2yaml and yaml2obj utilities together with other LLVM tools. 2014-07-29 18:28:16 +00:00
obj2yaml.cpp Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
obj2yaml.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00