Currently the shadow stack is located in the trace memory mapping.
The new tsan runtime will remove the trace memory mapping.
Move the shadow stack into ThreadState as a preparation step.
Details
Details
- Reviewers
vitalybuka melver - Commits
- rGed7f3f5bc99a: tsan: move shadow stack into ThreadState
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Either this patch or https://reviews.llvm.org/D110520 has broken almost all the PPC bots. Please revert and let us know how we can help you figure out what needs to be done to investigate/fix this on the PPC bots.
Bot failures:
https://lab.llvm.org/buildbot/#/builders/52/builds/10854
https://lab.llvm.org/buildbot/#/builders/100/builds/9308
https://lab.llvm.org/buildbot/#/builders/93/builds/5134
https://lab.llvm.org/buildbot/#/builders/76/builds/4004
https://lab.llvm.org/buildbot/#/builders/105/builds/15435
https://lab.llvm.org/buildbot/#/builders/121/builds/11854
Comment Actions
In the failure logs I see:
92: ThreadSanitizer: CHECK failed: tsan_rtl.cpp:148 "((reinterpret_cast<uptr>(this) % 128)) == ((0))" (0x40, 0x0) (tid=90937)
So I think it's https://reviews.llvm.org/D110520 , I've sent https://reviews.llvm.org/D110629 that will hopefully fix the failures.
Thanks for reporting