message: Handle 32-bit swift platforms correctly.
diff: @@ -76,8 +76,12 @@ class TestSwiftieFormatting(TestBase):
  ns_d = swcla.GetChildMemberWithName("ns_d")
  self.assertTrue(ns_d.GetSummary() == '0 bytes', "ns_d summary wrong")
  + IntWidth = 64
  + if self.getArchitecture() in ['arm', 'armv7', 'armv7k', 'i386']:
  + IntWidth = 32
  +
  ns_n = swcla.GetChildMemberWithName("ns_n")
  - self.assertTrue(ns_n.GetSummary() == 'Int64(30)', "ns_n summary wrong")
  + self.assertTrue(ns_n.GetSummary() == ("Int%d(30)" % IntWidth), "ns_n summary wrong")
  swcla = self.frame.EvaluateExpression("swcla")
  swcla.SetPreferDynamicValue(lldb.eDynamicCanRunTarget)
  @@ -92,7 +96,7 @@ class TestSwiftieFormatting(TestBase):
  self.assertTrue(ns_d.GetSummary() == '0 bytes', "ns_d summary wrong")
  ns_n = swcla.GetChildMemberWithName("ns_n")
  - self.assertTrue(ns_n.GetSummary() == 'Int64(30)', "ns_n summary wrong")
  + self.assertTrue(ns_n.GetSummary() == ("Int%d(30)" % IntWidth), "ns_n summary wrong")
  nsarr = self.frame.FindVariable("nsarr")
  nsarr.SetPreferDynamicValue(lldb.eDynamicCanRunTarget)
  @@ -109,13 +113,13 @@ class TestSwiftieFormatting(TestBase):
  nsarr3.SetPreferSyntheticValue(True)
  self.assertTrue(
  - nsarr0.GetSummary() == 'Int64(2)',
  + nsarr0.GetSummary() == ("Int%d(2)" % IntWidth),
  'nsarr[0] summary wrong')
  self.assertTrue(
  - nsarr1.GetSummary() == 'Int64(3)',
  + nsarr1.GetSummary() == ("Int%d(3)" % IntWidth),
  'nsarr[1] summary wrong')
  self.assertTrue(
  - nsarr3.GetSummary() == 'Int64(5)',
  + nsarr3.GetSummary() == ("Int%d(5)" % IntWidth),
  'nsarr[3] summary wrong')
  self.expect(
  @@ -127,9 +131,9 @@ class TestSwiftieFormatting(TestBase):
  self.expect(
  'frame variable -d run nsarr[5] --ptr-depth=1',
  substrs=[
  - 'Int64(1)',
  - 'Int64(2)',
  - 'Int64(3)'])
  + ("Int%d(1)" % IntWidth),
  + ("Int%d(2)" % IntWidth),
  + ("Int%d(3)" % IntWidth)])
  if __name__ == '__main__':
  import atexit
  