Issue |
136802
|
Summary |
llvm-bolt instrument appears Segmentation fault (core dumped)
|
Labels |
BOLT
|
Assignees |
|
Reporter |
qianwindz
|
Testing a simple SO library on arm64 resulted in the following error:

The code for this library is as follows:
#include <cstdint>
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-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs