This is an archive of the discontinued LLVM Phabricator instance.

[DWARF] Use forward_list in place of SmallVector to fix use-after-free issue
ClosedPublic

Authored by MaskRay on Jul 23 2018, 3:36 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

MaskRay created this revision.Jul 23 2018, 3:36 PM
MaskRay updated this revision to Diff 156918.Jul 23 2018, 4:24 PM

Use deque

dblaikie accepted this revision.Jul 23 2018, 4:25 PM

Thanks!

lib/DebugInfo/DWARF/DWARFContext.cpp
51 ↗(On Diff #156918)

Remove this/replace with <deque>?

This revision is now accepted and ready to land.Jul 23 2018, 4:25 PM
MaskRay updated this revision to Diff 156921.Jul 23 2018, 4:26 PM

include <deque>

This revision was automatically updated to reflect the committed changes.