1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/tools/obj2yaml
Rui Ueyama e59fc0b2e5 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

llvm-svn: 239409
2015-06-09 15:20:42 +00:00
..
CMakeLists.txt
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
Error.h
Makefile
obj2yaml.cpp
obj2yaml.h