Remove dollars from system call support symbols

This commit is contained in:
Justine Tunney 2021-02-03 19:35:29 -08:00
parent a8d7195777
commit a37960a3af
743 changed files with 1380 additions and 2016 deletions

View file

@ -33,8 +33,8 @@ testonly void testlib_showerror(const char *file, int line, const char *func,
const char *method, const char *symbol,
const char *code, char *v1, char *v2) {
/* TODO(jart): Pay off tech debt re duplication */
getpid$sysv(); /* make strace easier to read */
getpid$sysv();
sys_getpid(); /* make strace easier to read */
sys_getpid();
fprintf(stderr,
"%s%s%s%s:%s:%d%s: %s() %s %s(%s)\n"
"\t%s\n"

View file

@ -74,7 +74,7 @@ testonly int main(int argc, char *argv[]) {
GetOpts(argc, argv);
showcrashreports();
g_testlib_shoulddebugbreak = IsDebuggerPresent(false);
getpid$sysv(); /* make strace easier to read */
sys_getpid(); /* make strace easier to read */
testlib_clearxmmregisters();
testlib_runalltests();
if (!g_testlib_failed && runbenchmarks_ && weaken(testlib_runallbenchmarks)) {

View file

@ -77,11 +77,11 @@ testonly void testlib_runtestcases(testfn_t *start, testfn_t *end,
if (weaken(SetUp)) weaken(SetUp)();
errno = 0;
SetLastError(0);
getpid$sysv();
sys_getpid();
if (warmup) warmup();
testlib_clearxmmregisters();
(*fn)();
getpid$sysv();
sys_getpid();
if (weaken(TearDown)) weaken(TearDown)();
if (weaken(testlib_enable_tmp_setup_teardown)) {
CHECK_NE(-1, chdir(cwd));