This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Don't crash trying to resolve __stack_chk_guard.
ClosedPublic

Authored by efriedma on Apr 17 2018, 4:05 PM.

Details

Summary

In certain cases, the compiler might try to merge __stack_chk_guard with another global variable. (Or someone could theoretically define __stack_chk_guard as an alias.) In that case, make sure we don't crash.

Diff Detail

Repository
rL LLVM

Event Timeline

efriedma created this revision.Apr 17 2018, 4:05 PM
efriedma edited the summary of this revision. (Show Details)Apr 17 2018, 4:05 PM
davide accepted this revision.Apr 18 2018, 7:47 AM

LGTM, thanks

This revision is now accepted and ready to land.Apr 18 2018, 7:47 AM
This revision was automatically updated to reflect the committed changes.