[all-commits] [llvm/llvm-project] 0cf3c4: [HWASan] Improve symbol indexing (#135967)
Stefan Bossbaly via All-commits
all-commits at lists.llvm.org
Fri May 23 09:43:25 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0cf3c437c18ed27d9663d87804a9a15ff6874af2
https://github.com/llvm/llvm-project/commit/0cf3c437c18ed27d9663d87804a9a15ff6874af2
Author: Stefan Bossbaly <Sbossb at gmail.com>
Date: 2025-05-23 (Fri, 23 May 2025)
Changed paths:
M compiler-rt/lib/hwasan/scripts/hwasan_symbolize
Log Message:
-----------
[HWASan] Improve symbol indexing (#135967)
Previously we would add any ELF that contained a build id regardless
whether the ELF contained symbols or not. This works for Android since
soong will strip the symbols into a new directory. However other
build systems, like BUCK, will write the stripped file in the same
directory as the unstripped file. This would cause the hwasan_symbolize
script sometimes add then stripped ELF to its index and ignore the
symbolized ELF. The logic has now been changed to only add ELFs that
contain symbols to the index. If two symbolized ELFs are encountered
with the same build id, we now exit out with an error.
Fixes #135966
---------
Co-authored-by: Stefan Bossbaly <sboss at meta.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list