aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Wrap/bitcode_wrapperer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Wrap/bitcode_wrapperer.h')
-rw-r--r--include/llvm/Wrap/bitcode_wrapperer.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/llvm/Wrap/bitcode_wrapperer.h b/include/llvm/Wrap/bitcode_wrapperer.h
index 26b9664f8a1..062cc8083d5 100644
--- a/include/llvm/Wrap/bitcode_wrapperer.h
+++ b/include/llvm/Wrap/bitcode_wrapperer.h
@@ -22,6 +22,7 @@
#include <stdint.h>
#include <stddef.h>
+#include <string>
#include <vector>
#include "llvm/Wrap/support_macros.h"
@@ -91,6 +92,22 @@ class BitcodeWrapperer {
return android_optimization_level_;
}
+ uint32_t getAndroidBitcodeType() {
+ return android_bitcode_type_;
+ }
+
+ uint32_t getAndroidLDFlags() {
+ return android_ldflags_;
+ }
+
+ std::string getAndroidSOName() {
+ return android_soname_;
+ }
+
+ std::vector<std::string> getAndroidDependentLibrary() {
+ return android_dependent_library_;
+ }
+
~BitcodeWrapperer();
private:
@@ -204,6 +221,10 @@ class BitcodeWrapperer {
uint32_t android_target_api_;
uint32_t android_compiler_version_;
uint32_t android_optimization_level_;
+ uint32_t android_bitcode_type_;
+ uint32_t android_ldflags_;
+ std::string android_soname_;
+ std::vector<std::string> android_dependent_library_;
// PNaCl bitcode version
uint32_t pnacl_bc_version_;