Open
Description
Testing a simple SO library on arm64 resulted in the following error:
The code for this library is as follows:
#include
extern "C" {
attribute((visibility("default")))
int32_t add(int32_t a, int32_t b) {
return a + b;
}
attribute((visibility("default")))
int32_t multiply(int32_t x, int32_t y) {
return x * y;
}S
} // extern "C"
The libtestdemo format is:
ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, BuildID[md5/uuid]=2d020c716e8f70c88d6cf7306c2c9edd, with debug_info, not stripped
llvm-bolt version is:
the clang compiler version is:
clang-r522817