mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-14 09:18:09 +00:00
build meta for torture run; fix base core in metagen
This commit is contained in:
@@ -47,6 +47,6 @@ jobs:
|
|||||||
shell: cmd
|
shell: cmd
|
||||||
run: |
|
run: |
|
||||||
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
|
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
|
||||||
call build asan debug torture radlink radbin || exit /b 1
|
call build asan debug meta torture radlink radbin || exit /b 1
|
||||||
cd build
|
cd build
|
||||||
torture || exit /b 1
|
torture || exit /b 1
|
||||||
|
|||||||
@@ -370,8 +370,6 @@ CheckNil(nil,p) ? \
|
|||||||
# if defined(__SANITIZE_ADDRESS__)
|
# if defined(__SANITIZE_ADDRESS__)
|
||||||
# define ASAN_ENABLED 1
|
# define ASAN_ENABLED 1
|
||||||
# define ASAN_NO_ADDR __declspec(no_sanitize_address)
|
# define ASAN_NO_ADDR __declspec(no_sanitize_address)
|
||||||
# else
|
|
||||||
# define UBSAN_NO_ALIGN
|
|
||||||
# endif
|
# endif
|
||||||
#elif COMPILER_CLANG
|
#elif COMPILER_CLANG
|
||||||
# if defined(__has_feature)
|
# if defined(__has_feature)
|
||||||
|
|||||||
@@ -291,8 +291,6 @@ CheckNil(nil,p) ? \
|
|||||||
# if defined(__SANITIZE_ADDRESS__)
|
# if defined(__SANITIZE_ADDRESS__)
|
||||||
# define ASAN_ENABLED 1
|
# define ASAN_ENABLED 1
|
||||||
# define ASAN_NO_ADDR __declspec(no_sanitize_address)
|
# define ASAN_NO_ADDR __declspec(no_sanitize_address)
|
||||||
# else
|
|
||||||
# define UBSAN_NO_ALIGN
|
|
||||||
# endif
|
# endif
|
||||||
#elif COMPILER_CLANG
|
#elif COMPILER_CLANG
|
||||||
# if defined(__has_feature)
|
# if defined(__has_feature)
|
||||||
@@ -304,8 +302,14 @@ CheckNil(nil,p) ? \
|
|||||||
# define UBSAN_NO_ALIGN __attribute__((no_sanitize("alignment")))
|
# define UBSAN_NO_ALIGN __attribute__((no_sanitize("alignment")))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef ASAN_NO_ADDR
|
||||||
|
# define ASAN_NO_ADDR
|
||||||
|
#endif
|
||||||
|
#ifndef UBSAN_NO_ALIGN
|
||||||
|
# define UBSAN_NO_ALIGN
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ASAN_ENABLED
|
#if ASAN_ENABLED
|
||||||
#pragma comment(lib, "clang_rt.asan-x86_64.lib")
|
|
||||||
C_LINKAGE void __asan_poison_memory_region(void const volatile *addr, size_t size);
|
C_LINKAGE void __asan_poison_memory_region(void const volatile *addr, size_t size);
|
||||||
C_LINKAGE void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
|
C_LINKAGE void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
|
||||||
# define AsanPoisonMemoryRegion(addr, size) __asan_poison_memory_region((addr), (size))
|
# define AsanPoisonMemoryRegion(addr, size) __asan_poison_memory_region((addr), (size))
|
||||||
|
|||||||
Reference in New Issue
Block a user