LLDB parses compiler versions out of DW_AT_producer DWARF attributes into a VersionTuple. The Swift compiler recently switched to 5-component version numbers. In order to support this version scheme without growing the size of VersionTuple, this patch dedicates the last 10 bits of the build version to a 5th "sub-build" component. The Swift compiler currently uses 1 digit for this and promises to never use more than 3 digits for the last 3 components. This patch still leaves 6 decimal digits for the build component for other version schemes. rdar://170181060
3.6 KiB
3.6 KiB