Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
revert
  • Loading branch information
jakeegan committed Jul 17, 2025
commit 205441ba422abf722937a60da4a592db6e4956ce
9 changes: 9 additions & 0 deletions compiler-rt/lib/asan/asan_descriptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -449,10 +449,12 @@ AddressDescription::AddressDescription(uptr addr, uptr access_size,
// are put to the STACK region for unknown reasons. Check global first can
// workaround this issue.
// TODO: Look into whether there's a different solution to this problem.
#if SANITIZER_AIX
if (GetGlobalAddressInformation(addr, access_size, &data.global)) {
data.kind = kAddressKindGlobal;
return;
}
#endif

if (GetHeapAddressInformation(addr, access_size, &data.heap)) {
data.kind = kAddressKindHeap;
Expand All @@ -471,6 +473,13 @@ AddressDescription::AddressDescription(uptr addr, uptr access_size,
return;
}

#if !SANITIZER_AIX
Comment thread
jakeegan marked this conversation as resolved.
if (GetGlobalAddressInformation(addr, access_size, &data.global)) {
data.kind = kAddressKindGlobal;
return;
}
#endif

data.kind = kAddressKindWild;
data.wild.addr = addr;
data.wild.access_size = access_size;
Expand Down
Loading