This is an archive of the discontinued LLVM Phabricator instance.

[libunwind] Fix libunwind build without a heap
ClosedPublic

Authored by Amanieu on Apr 27 2020, 6:59 AM.

Details

Reviewers
compnerd
Group Reviewers
Restricted Project
Summary

This patch adds a missing guard for _LIBUNWIND_NO_HEAP around code dealing with the .cfi_remember_state and .cfi_restore_state instructions.

Diff Detail

Event Timeline

Amanieu created this revision.Apr 27 2020, 6:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2020, 6:59 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript

Please upload patches with complete context (diff -u9999).

compnerd accepted this revision.Apr 27 2020, 8:35 AM

Do you have commit access or do you need someone to commit this on your behalf?

This revision is now accepted and ready to land.Apr 27 2020, 8:35 AM
Amanieu updated this revision to Diff 260344.Apr 27 2020, 8:38 AM

Added context

Please commit on my behalf.