Add missing headers in bh_atomic.h and aot_llvm_extra.cpp (#3715)

This commit is contained in:
James Ring 2024-08-15 15:56:49 -07:00 committed by GitHub
parent 58ca02bc5f
commit b845e2ede4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,9 @@
#include <llvm/Target/CodeGenCWrappers.h>
#include <llvm/Target/TargetMachine.h>
#include <llvm/Target/TargetOptions.h>
#if LLVM_VERSION_MAJOR >= 17
#include <llvm/TargetParser/Triple.h>
#endif
#include <llvm/Transforms/Utils/LowerMemIntrinsics.h>
#include <llvm/Transforms/Vectorize/LoopVectorize.h>
#include <llvm/Transforms/Vectorize/LoadStoreVectorizer.h>

View File

@ -6,6 +6,7 @@
#ifndef _BH_ATOMIC_H
#define _BH_ATOMIC_H
#include "bh_platform.h"
#include "gnuc.h"
#ifdef __cplusplus