Remove testonly keyword

This commit is contained in:
Justine Tunney 2022-09-05 08:41:43 -07:00
parent 9be364d40a
commit d721ff8938
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
31 changed files with 78 additions and 94 deletions

View file

@ -25,7 +25,7 @@
#include "test/libc/xed/lib.h"
#include "third_party/xed/x86.h"
testonly dontdiscard uint8_t *unbingx86op(const char16_t *codez) {
dontdiscard uint8_t *unbingx86op(const char16_t *codez) {
size_t len;
len = strlen16(codez);
return unbingbuf(xmalloc(ROUNDUP(len, 16)), len, codez, 0x90);
@ -34,7 +34,7 @@ testonly dontdiscard uint8_t *unbingx86op(const char16_t *codez) {
/**
* Long mode instruction length decoder.
*/
testonly int ild(const char16_t *codez) {
int ild(const char16_t *codez) {
int error;
struct XedDecodedInst xedd;
error = xed_instruction_length_decode(
@ -46,7 +46,7 @@ testonly int ild(const char16_t *codez) {
/**
* Real mode instruction length decoder.
*/
testonly int ildreal(const char16_t *codez) {
int ildreal(const char16_t *codez) {
int error;
struct XedDecodedInst xedd;
error = xed_instruction_length_decode(
@ -58,7 +58,7 @@ testonly int ildreal(const char16_t *codez) {
/**
* Legacy mode instruction length decoder.
*/
testonly int ildlegacy(const char16_t *codez) {
int ildlegacy(const char16_t *codez) {
int error;
struct XedDecodedInst xedd;
error = xed_instruction_length_decode(