Page MenuHomePhabricator

SafeStack: Use correct unsafe stack sizes
ClosedPublic

Authored by vlad.tsyrklevich on Aug 20 2018, 4:50 PM.

Details

Summary

When deallocating thread stacks, we use one thread's unsafe stack size
to deallocate another thread's unsafe stack; however, the two sizes may
differ. Record an unsafe stack's size in the thread stack linked list.

Diff Detail

Repository
rL LLVM

Event Timeline

Herald added subscribers: Restricted Project, llvm-commits, delcypher. · View Herald TranscriptAug 20 2018, 4:50 PM
eugenis accepted this revision.Aug 20 2018, 4:53 PM

Nice catch!

This revision is now accepted and ready to land.Aug 20 2018, 4:53 PM
This revision was automatically updated to reflect the committed changes.