diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-08 00:24:18 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-08 00:24:18 +0000 |
commit | 9d88e344ebaca25784b9e2ff6021c86a772d09fa (patch) | |
tree | 19c0c15092f44c0b3e36bf651497a24aa54ee1df | |
parent | 90526c4ec858da70a6732514488d2c9cf8424c4a (diff) | |
parent | 5bfb690c7705e29a6a0de08eae4911b4d224be1e (diff) | |
download | unwinding-android14-qpr2-s1-release.tar.gz |
Snap for 11192287 from 5bfb690c7705e29a6a0de08eae4911b4d224be1e to 24Q1-releaseandroid-14.0.0_r33android-14.0.0_r32android-14.0.0_r31android-14.0.0_r30android-14.0.0_r29android14-qpr2-s3-releaseandroid14-qpr2-s2-releaseandroid14-qpr2-s1-releaseandroid14-qpr2-release
Change-Id: I9e85f8cb8d84fa20af149d5fc3edb2c3c8c4d1df
-rw-r--r-- | libunwindstack/Android.bp | 18 | ||||
-rw-r--r-- | libunwindstack/exported.map | 7 | ||||
-rw-r--r-- | libunwindstack/exported_x86.map | 8 | ||||
-rw-r--r-- | libunwindstack/include/unwindstack/RegsGetLocal.h | 2 |
4 files changed, 35 insertions, 0 deletions
diff --git a/libunwindstack/Android.bp b/libunwindstack/Android.bp index d2b02c6..da51339 100644 --- a/libunwindstack/Android.bp +++ b/libunwindstack/Android.bp @@ -202,6 +202,24 @@ cc_library { }, }, + arch: { + arm: { + version_script: "exported.map", + }, + arm64: { + version_script: "exported.map", + }, + riscv64: { + version_script: "exported.map", + }, + x86: { + version_script: "exported_x86.map", + }, + x86_64: { + version_script: "exported_x86.map", + }, + }, + apex_available: [ "//apex_available:platform", "com.android.art", diff --git a/libunwindstack/exported.map b/libunwindstack/exported.map new file mode 100644 index 0000000..bfd236c --- /dev/null +++ b/libunwindstack/exported.map @@ -0,0 +1,7 @@ +LIBUNWINDSTACK { + global: + *unwindstack*; + + local: + *; +}; diff --git a/libunwindstack/exported_x86.map b/libunwindstack/exported_x86.map new file mode 100644 index 0000000..d55b3c7 --- /dev/null +++ b/libunwindstack/exported_x86.map @@ -0,0 +1,8 @@ +LIBUNWINDSTACK { + global: + *unwindstack*; + AsmGetRegs; + + local: + *; +}; diff --git a/libunwindstack/include/unwindstack/RegsGetLocal.h b/libunwindstack/include/unwindstack/RegsGetLocal.h index 4cdab9a..a04ea7b 100644 --- a/libunwindstack/include/unwindstack/RegsGetLocal.h +++ b/libunwindstack/include/unwindstack/RegsGetLocal.h @@ -129,6 +129,8 @@ inline __attribute__((__always_inline__)) void AsmGetRegs(void* reg_data) { #elif defined(__i386__) || defined(__x86_64__) +// Do not change this, some libraries depend on this function existing on +// these architectures. extern "C" void AsmGetRegs(void* regs); #endif |