Split the ABIX86 class into two classes: ABIX86 class used to define
the plugin, and ABIX86_i386 class that is the base for 32-bit ABIs.
This makes ABIX86 more suitable to become a common class for all ABIs,
and removes the confusing concept that ABIX86 initializes 64-bit ABIs
but is only the base for 32-bit ABIs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/source/Plugins/ABI/X86/ABIX86_i386.h | ||
---|---|---|
14 | For the record, I'm not married to this name ;-). I was originally thinking of ABIX86_32 but it felt weird when all the ABIs carry _i386 suffix. |
lldb/source/Plugins/ABI/X86/ABIX86.h | ||
---|---|---|
15 | Now it's weird that this class is in no relation to the ABI class, nor to the individual ABIXXX_YYY subclasses. Maybe lets insert it into the hierarchy (as a common superclass of ABIX86_i386 and ABIX86_64). Even if it's initially empty, I can imagine one could eventually put some common x86 code there. |
lldb/source/Plugins/ABI/X86/ABIX86.h | ||
---|---|---|
15 | Sure, will do. |
Now it's weird that this class is in no relation to the ABI class, nor to the individual ABIXXX_YYY subclasses. Maybe lets insert it into the hierarchy (as a common superclass of ABIX86_i386 and ABIX86_64). Even if it's initially empty, I can imagine one could eventually put some common x86 code there.