1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/Object
Rafael Espindola da86c89e4a Don't use std::errc.
As noted on Errc.h:

// * std::errc is just marked with is_error_condition_enum. This means that
//   common patters like AnErrorCode == errc::no_such_file_or_directory take
//   4 virtual calls instead of two comparisons.

And on some libstdc++ those virtual functions conclude that

------------------------
int main() {
  std::error_code foo = std::make_error_code(std::errc::no_such_file_or_directory);
  return foo == std::errc::no_such_file_or_directory;
}
-------------------------

should exit with 0.

llvm-svn: 239683
2015-06-13 17:23:04 +00:00
..
Archive.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
ArchiveWriter.cpp Don't use std::errc. 2015-06-13 17:23:04 +00:00
Binary.cpp Object: Handle Mach-O kext bundle files 2015-02-25 22:59:20 +00:00
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 obj2yaml, yaml2obj: Add support for COFF executables 2014-11-14 08:15:42 +00:00
ELF.cpp Remove duplication of relocation names in lib/Object/ELF.cpp 2014-11-21 20:16:07 +00:00
ELFObjectFile.cpp [Object, ELF] Don't assert on invalid magic in createELFObjectFile. 2015-06-04 23:14:43 +00:00
ELFYAML.cpp [llvm-readobj/obj2yaml/yaml2obj] Support MIPS machine ELF header flags 2015-05-08 07:04:59 +00:00
Error.cpp Remove object_error::success and use std::error_code() instead 2015-06-09 15:20:42 +00:00
IRObjectFile.cpp Object: Prepend __imp_ when mangling a dllimport symbol in IRObjectFile. 2015-06-11 21:42:18 +00:00
LLVMBuild.txt Object/LLVMBuild.txt: Sort required_libraries by alphabetical order. 2014-07-14 02:52:08 +00:00
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 Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
RecordStreamer.h Move alignment from MCSectionData to MCSection. 2015-05-21 19:20:38 +00:00
SymbolicFile.cpp Object: Handle Mach-O kext bundle files 2015-02-25 22:59:20 +00:00