[Lldb-commits] [PATCH] D85376: Fix how ValueObjectChild handles bit-fields stored in a Scalar in UpdateValue()
Davide Italiano via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Aug 5 17:58:51 PDT 2020
davide requested changes to this revision.
davide added inline comments.
This revision now requires changes to proceed.
================
Comment at: lldb/test/API/functionalities/data-formatter/valueobj-pass-by-reg/Makefile:2
+EXE := a.out
+CFLAGS := -O1
+
----------------
This is fundamentally a no-go. Depending on the optimization pipeline passes this in a register is an assumption that might go away at some point in the future and this test won't test what it has to & will still pass silently.
Something like this might work:
https://gcc.gnu.org/onlinedocs/gcc/Local-Register-Variables.html
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85376/new/
https://reviews.llvm.org/D85376
More information about the lldb-commits
mailing list