Yes please add a static assert to ensure this doesn't regress if someone does change dwarf_r0 and that will be fine.
> On Jul 30, 2014, at 2:03 PM, Ed Maste <[email protected]> wrote: > > On 30 July 2014 16:49, Todd Fiala <[email protected]> wrote: >> >> In this case, a comment is likely sufficient. > > How about a (static) assert that dwarf_r0 is 0, so that if someone > ever does change it then this comparison be revisited? > _______________________________________________ > lldb-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits _______________________________________________ lldb-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
