HomePhabricator

Avoid dangling reference on SectionList

Authored by serge-sans-paille on Feb 25 2020, 11:08 PM.

Description

Avoid dangling reference on SectionList

Bug spotted by https://cookieplmonster.github.io/2020/02/01/emulator-bug-llvm-bug/

Basically, holding references to object inside a resized vector is a bad idea.

Differential Revision: https://reviews.llvm.org/D75110

Details

Committed
serge-sans-pailleMar 5 2020, 12:42 AM
Differential Revision
D75110: Avoid dangling reference when indexing sections
Parents
rGe484c1759d41: [pstl] A cleanup fix for sort parallel algorithm.
Branches
Unknown
Tags
Unknown