diff options
author | pudge62 <maruipu2019@gmail.com> | 2024-09-26 15:22:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-26 00:22:14 -0700 |
commit | 781cb10f33beb9a829857de41827c0e4ff83bb32 (patch) | |
tree | 416f881e1c80e8f7b94a303ab8d285d51a817a2e /clang/lib/CodeGen | |
parent | 571a867f1f7abc4a58420f60b2b121b5fd13e26b (diff) | |
download | llvm-781cb10f33beb9a829857de41827c0e4ff83bb32.zip llvm-781cb10f33beb9a829857de41827c0e4ff83bb32.tar.gz llvm-781cb10f33beb9a829857de41827c0e4ff83bb32.tar.bz2 |
[TSan] fix the module map of main executable on darwin platforms (#107227)
In the executable image on Darwin platforms, there is a `__PAGEZERO`
segment with a size of 0. When calculating the module map, this segment
must be skipped to avoid errors. The previous implementation
inaccurately calculated the executable image's range, starting the
address at `0 + slide`.
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions