We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd50e49 commit 63454e9Copy full SHA for 63454e9
1 file changed
plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformThread.cpp
@@ -159,7 +159,7 @@ void PlatformThread::getState(State *state) {
159
// may remain not updated. Also, this way we'll mark all the unfilled values.
160
state_impl->clear();
161
162
- if (EDB_IS_64_BIT) {
+ if constexpr (EDB_IS_64_BIT) {
163
// 64-bit GETREGS call always returns 64-bit state, so use it
164
fillStateFromSimpleRegs(state_impl);
165
} else if (!fillStateFromPrStatus(state_impl)) {
0 commit comments