This is an archive of the discontinued LLVM Phabricator instance.

[🍒]Disable CFI in __get_elem to allow casting a pointer to uninitialized memory
ClosedPublic

Authored by ldionne on Feb 4 2021, 10:38 AM.

Details

Reviewers
tstellar
Group Reviewers
Restricted Project
Summary

Fixes usage of shared_ptr with CFI enabled, which is llvm.org/pr48993.

(cherry pick of commit bab74864168bb5e28ecbc0294fe1095d8da7f569)

Diff Detail

Event Timeline

ldionne created this revision.Feb 4 2021, 10:38 AM
ldionne requested review of this revision.Feb 4 2021, 10:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2021, 10:38 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
tstellar accepted this revision.Feb 4 2021, 10:39 AM

LGTM.

ldionne accepted this revision as: Restricted Project.Feb 8 2021, 10:49 AM
This revision is now accepted and ready to land.Feb 8 2021, 10:49 AM