Update tests and CPU detection for Blink

This commit is contained in:
Justine Tunney 2023-01-18 00:56:09 -08:00
parent be3e109309
commit 006c44ff5d
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
24 changed files with 206 additions and 56 deletions

View file

@ -21,7 +21,6 @@
#include "libc/intrin/promises.internal.h"
#include "libc/log/libfatal.internal.h"
#include "libc/log/log.h"
#include "libc/nexgen32e/vendor.internal.h"
#include "libc/nt/struct/teb.h"
#include "libc/runtime/runtime.h"
#include "libc/sysv/consts/o.h"
@ -42,7 +41,6 @@ int IsDebuggerPresent(bool force) {
ssize_t got;
int e, fd, res;
char *p, buf[1024];
if (!force && IsGenuineCosmo()) return 0;
if (!force && IsGenuineBlink()) return 0;
if (!force && __getenv(environ, "HEISENDEBUG")) return 0;
if (IsWindows()) return IsBeingDebugged();