1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/unittests
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
..
ADT Removing spurious semi colons; NFC. 2015-06-09 12:03:46 +00:00
Analysis Make getModRefInfo(Instruction *) not crash on certain types of instructions 2015-04-28 19:19:14 +00:00
AsmParser AsmParser: Require a terminating null character when creating memory buffer. 2015-05-20 20:41:27 +00:00
Bitcode While in GlobalValue fix the function(s) that don't follow the 2015-05-15 18:20:14 +00:00
CodeGen Reapply "AsmPrinter: Change DIEValue to be stored by value" 2015-05-27 22:14:58 +00:00
DebugInfo Fix compilation of PDBApiTest. 2015-05-01 20:51:49 +00:00
ExecutionEngine [Mips64] Add support for MCJIT for MIPS64r2 and MIPS64r6 2015-05-28 13:48:41 +00:00
IR IR / debug info: Add a DWOId field to DICompileUnit, 2015-05-21 20:37:30 +00:00
LineEditor
Linker [LinkerTest] Don't leak error string. 2015-06-13 12:53:21 +00:00
MC
Option Option parsing: properly handle flag aliases for joined options (PR23394) 2015-05-04 18:00:13 +00:00
ProfileData InstrProf: Treat functions with a coverage map but no profile as unreached 2015-05-13 22:03:04 +00:00
Support Don't use std::errc. 2015-06-13 17:23:04 +00:00
Transforms IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
CMakeLists.txt AsmParser: Require a terminating null character when creating memory buffer. 2015-05-20 20:41:27 +00:00
Makefile AsmParser: Require a terminating null character when creating memory buffer. 2015-05-20 20:41:27 +00:00
Makefile.unittest