This is an archive of the discontinued LLVM Phabricator instance.

libunwind: limit stack usage in unwind cursor
ClosedPublic

Authored by emaste on Jul 20 2016, 7:22 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

emaste updated this revision to Diff 64685.Jul 20 2016, 7:22 AM
emaste retitled this revision from to libunwind: limit stack usage in unwind cursor.
emaste updated this object.
emaste added reviewers: rmaprath, compnerd.
compnerd requested changes to this revision.Jul 20 2016, 8:05 AM
compnerd edited edge metadata.
compnerd added inline comments.
include/__libunwind_config.h
50 ↗(On Diff #64685)

Uh, this looks like the DWARF number as 64-95 represent the VFP register set in modern ARM toolchains. Please rename the macros to _LIBUNWIND_HIGHEST_DWARF_REGISTER so that someone does not assume some silly mistake (the likes of #define ONE 2).

This revision now requires changes to proceed.Jul 20 2016, 8:05 AM
emaste updated this revision to Diff 64694.Jul 20 2016, 8:19 AM
emaste edited edge metadata.

Update macro name as requested by @compnerd

compnerd accepted this revision.Jul 20 2016, 8:23 AM
compnerd edited edge metadata.

Im tempted to say that we should try to merge this into 3.9 as well given that its pretty low risk, and we also have the other alignment issue that we are going to carry over. Mind merging or pinging Hans for this change?

This revision is now accepted and ready to land.Jul 20 2016, 8:23 AM
This revision was automatically updated to reflect the committed changes.
rmaprath edited edge metadata.Jul 25 2016, 2:43 AM

Thanks for this!

I was on holidays, couldn't respond sooner.

/ Asiri