mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-25 21:45:57 +00:00
This patch introduces `RegisterTypeBuiltin`, an internal representation of GDB predefined types such as `uint32`, `bool`, `ieee_half`, and `data_ptr`. - Store each builtin's encoding, display format, and optional fixed byte size. - Use `std::nullopt` for target-dependent types such as pointers. - Teach `RegisterTypeBuilderClang` to create the corresponding Clang `CompilerType`. - Validate that the resulting type exactly matches the register size. - Do not serialize builtins because GDB defines them implicitly by name. - Add tests for fixed-size, named, pointer-sized, mismatched, and non-serialized builtins. This provides the scalar element types needed to build register vectors in later patches. It does not parse or display vectors yet. Co-authored-by: Bar Soloveychik <barsolo@fb.com> |
||
|---|---|---|
| .. | ||
| AcceleratorGDBRemotePackets.cpp | ||
| AddressableBits.cpp | ||
| AddressSpace.cpp | ||
| ArchSpec.cpp | ||
| Args.cpp | ||
| ARM64_DWARF_Registers.h | ||
| ARM64_ehframe_Registers.h | ||
| ARM_DWARF_Registers.h | ||
| ARM_ehframe_Registers.h | ||
| Baton.cpp | ||
| Broadcaster.cpp | ||
| Checksum.cpp | ||
| CMakeLists.txt | ||
| CompletionRequest.cpp | ||
| Connection.cpp | ||
| ConstString.cpp | ||
| DataBufferHeap.cpp | ||
| DataBufferLLVM.cpp | ||
| DataEncoder.cpp | ||
| DataExtractor.cpp | ||
| Environment.cpp | ||
| ErrorMessages.cpp | ||
| Event.cpp | ||
| FileSpec.cpp | ||
| FileSpecList.cpp | ||
| GDBRemote.cpp | ||
| Instrumentation.cpp | ||
| IOObject.cpp | ||
| Listener.cpp | ||
| LLDBAssert.cpp | ||
| LLDBLog.cpp | ||
| Log.cpp | ||
| LoongArch_DWARF_Registers.h | ||
| NameMatches.cpp | ||
| Policy.cpp | ||
| PPC64_DWARF_Registers.h | ||
| PPC64LE_DWARF_Registers.h | ||
| ProcessInfo.cpp | ||
| RealpathPrefixes.cpp | ||
| RegisterType.cpp | ||
| RegisterTypeFlags.cpp | ||
| RegisterValue.cpp | ||
| RegularExpression.cpp | ||
| RISCV_DWARF_Registers.h | ||
| Scalar.cpp | ||
| SelectHelper.cpp | ||
| State.cpp | ||
| Status.cpp | ||
| Stream.cpp | ||
| StreamString.cpp | ||
| StringExtractor.cpp | ||
| StringExtractorGDBRemote.cpp | ||
| StringList.cpp | ||
| StructuredData.cpp | ||
| TildeExpressionResolver.cpp | ||
| Timer.cpp | ||
| TraceGDBRemotePackets.cpp | ||
| TraceIntelPTGDBRemotePackets.cpp | ||
| UnimplementedError.cpp | ||
| UriParser.cpp | ||
| UserID.cpp | ||
| UserIDResolver.cpp | ||
| UUID.cpp | ||
| VASprintf.cpp | ||
| VirtualDataExtractor.cpp | ||
| WasmVirtualRegisters.h | ||
| XcodeSDK.cpp | ||
| ZipFile.cpp | ||