[PATCH] D39251: [libunwind] Fix building for ARM with dwarf exception handling

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 2 00:29:11 PDT 2017


mstorsjo added inline comments.


================
Comment at: src/Registers.hpp:1481
+  mutable uint32_t _iwmmx_control[4];
 #endif
 };
----------------
compnerd wrote:
> Why the change to mark these as mutable?
These are touched from within `getRegister`, but we need to make `getRegister` const since it's used on a const Registers object in the dwarf codepath.


https://reviews.llvm.org/D39251





More information about the cfe-commits mailing list