Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1493)

Side by Side Diff: crosstest/mem_intrin.h

Issue 389683003: Remove memcpy test workaround for name mangling substitutions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | crosstest/mem_intrin.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Simple sanity test of memcpy, memmove, and memset intrinsics. 2 * Simple sanity test of memcpy, memmove, and memset intrinsics.
3 * (fixed length buffers, variable length buffers, etc.). 3 * (fixed length buffers, variable length buffers, etc.).
4 * There is no include guard since this will be included multiple times, 4 * There is no include guard since this will be included multiple times,
5 * under different namespaces. 5 * under different namespaces.
6 */ 6 */
7 7
8 /* Declare first buf as uint8_t * and second as void *, to avoid C++ 8 int memcpy_test(uint8_t *buf, uint8_t *buf2, uint8_t init, size_t length);
9 * name mangling's use of substitutions. Otherwise Subzero's name 9 int memmove_test(uint8_t *buf, uint8_t *buf2, uint8_t init, size_t length);
10 * mangling injection will need to bump each substitution sequence ID 10 int memset_test(uint8_t *buf, uint8_t *buf2, uint8_t init, size_t length);
11 * up by one (e.g., from S_ to S0_ and S1_ to S2_).
12 */
13 int memcpy_test(uint8_t *buf, void *buf2, uint8_t init, size_t length);
14 int memmove_test(uint8_t *buf, void *buf2, uint8_t init, size_t length);
15 int memset_test(uint8_t *buf, void *buf2, uint8_t init, size_t length);
16 11
17 int memcpy_test_fixed_len(uint8_t init); 12 int memcpy_test_fixed_len(uint8_t init);
18 int memmove_test_fixed_len(uint8_t init); 13 int memmove_test_fixed_len(uint8_t init);
19 int memset_test_fixed_len(uint8_t init); 14 int memset_test_fixed_len(uint8_t init);
OLDNEW
« no previous file with comments | « no previous file | crosstest/mem_intrin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698