Skip to content

Commit 5886a27

Browse files
authored
[tsan][riscv] correct Go race detector mapping for RISC-V sv48 VMA (#154700)
The executable and heap range for RISC-V sv48 VMA is supposed to end at 0xe000000000, rather than 0x0e00000000 as currently configured.
1 parent 9958b1c commit 5886a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/tsan/rtl/tsan_platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ struct MappingGoRiscv64_48 {
721721
static const uptr kShadowBeg = 0x200000000000ull;
722722
static const uptr kShadowEnd = 0x240000000000ull;
723723
static const uptr kLoAppMemBeg = 0x000000010000ull;
724-
static const uptr kLoAppMemEnd = 0x000e00000000ull;
724+
static const uptr kLoAppMemEnd = 0x00e000000000ull;
725725
static const uptr kMidAppMemBeg = 0;
726726
static const uptr kMidAppMemEnd = 0;
727727
static const uptr kHiAppMemBeg = 0;

0 commit comments

Comments
 (0)