boringssl/util
David Benjamin 34248d4cb7 Get rid of err function codes.
Running make_errors.go every time a function is renamed is incredibly
tedious. Plus we keep getting them wrong.

Instead, sample __func__ (__FUNCTION__ in MSVC) in the OPENSSL_PUT_ERROR macro
and store it alongside file and line number. This doesn't change the format of
ERR_print_errors, however ERR_error_string_n now uses the placeholder
"OPENSSL_internal" rather than an actual function name since that only takes
the uint32_t packed error code as input.

This updates err scripts to not emit the function string table. The
OPENSSL_PUT_ERROR invocations, for now, still include the extra
parameter. That will be removed in a follow-up.

BUG=468039

Change-Id: Iaa2ef56991fb58892fa8a1283b3b8b995fbb308d
Reviewed-on: https://boringssl-review.googlesource.com/5275
Reviewed-by: Adam Langley <agl@google.com>
2015-07-16 02:02:08 +00:00
..
bot Sync vs_toolschain.py up with Chromium. 2015-06-02 21:04:30 +00:00
32-bit-toolchain.cmake
all_tests.go Move test configuration into a separate file. 2015-06-16 18:07:42 +00:00
all_tests.json Add standalone tests for Poly1305. 2015-07-10 18:44:01 +00:00
doc.config Add support for CMAC (RFC 4493). 2015-05-07 21:13:41 +00:00
doc.css
doc.go Also skip #elif lines. 2015-05-20 21:38:08 +00:00
generate_build_files.py Give generated assembly files different names for arm and aarch64. 2015-06-22 23:29:45 +00:00
make_errors.go Get rid of err function codes. 2015-07-16 02:02:08 +00:00