llvm-6502/lib/Object
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
..
Archive.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
ArchiveWriter.cpp Fix Windows build. 2015-06-08 02:43:32 +00:00
Binary.cpp
CMakeLists.txt llvm-ar: Move archive writer to Object. 2015-06-08 02:32:01 +00:00
COFFObjectFile.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
COFFYAML.cpp
ELF.cpp
ELFObjectFile.cpp [Object, ELF] Don't assert on invalid magic in createELFObjectFile. 2015-06-04 23:14:43 +00:00
ELFYAML.cpp
Error.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
IRObjectFile.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
LLVMBuild.txt
MachOObjectFile.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
MachOUniversal.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
Makefile
Object.cpp Move to llvm-objdump a large amount of code to that is only used there. 2015-06-03 04:48:06 +00:00
ObjectFile.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
RecordStreamer.cpp
RecordStreamer.h
SymbolicFile.cpp