mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-04 22:56:35 +02:00
118b2a3580
According to the C standard, an offsetof expression must evaluate to an address constant, otherwise it's undefined behavior. Fixes https://bugs.dolphin-emu.org/issues/12409 See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95942 There are still improper uses of offsetof (mostly in JitArm64) but fixing that will take more effort since there's a PPCSTATE_OFF wrapper macro that is sometimes used with non-array members and sometimes used with arrays and variable indices... Let's keep that for another PR. |
||
---|---|---|
.. | ||
Interpreter | ||
Jit | ||
DSPAccelerator.cpp | ||
DSPAccelerator.h | ||
DSPAnalyzer.cpp | ||
DSPAnalyzer.h | ||
DSPAssembler.cpp | ||
DSPAssembler.h | ||
DSPBreakpoints.h | ||
DSPCaptureLogger.cpp | ||
DSPCaptureLogger.h | ||
DSPCodeUtil.cpp | ||
DSPCodeUtil.h | ||
DSPCommon.h | ||
DSPCore.cpp | ||
DSPCore.h | ||
DSPDisassembler.cpp | ||
DSPDisassembler.h | ||
DSPHost.h | ||
DSPHWInterface.cpp | ||
DSPMemoryMap.cpp | ||
DSPStacks.cpp | ||
DSPTables.cpp | ||
DSPTables.h | ||
LabelMap.cpp | ||
LabelMap.h |