mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-09 15:52:27 +03:00
Move cpuid checks inline.
During fat runtime function resolution there was a chance that the PLT might not be initialised in time for us to call the cpuid check functions. Moving them inline means there is no PLT to worry about. Fixes #78
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
|
||||
#include "hs_common.h"
|
||||
#include "util/cpuid_flags.h"
|
||||
#include "util/cpuid_inline.h"
|
||||
|
||||
HS_PUBLIC_API
|
||||
hs_error_t HS_CDECL hs_valid_platform(void) {
|
||||
|
Reference in New Issue
Block a user