From: Alex Lorenz Date: Wed, 3 Jul 2019 17:46:30 +0000 (+0000) Subject: [macCatalyst] Print out macCatalyst in llvm-objdump for the platform X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b853fa6bffcbd92d97c4134218bd6536c47fe38b;p=platform%2Fupstream%2Fllvm.git [macCatalyst] Print out macCatalyst in llvm-objdump for the platform 'macCatalyst' is more readable than 'maccatalyst'. llvm-svn: 365064 --- diff --git a/llvm/include/llvm/Object/MachO.h b/llvm/include/llvm/Object/MachO.h index 71c835c..8442df1 100644 --- a/llvm/include/llvm/Object/MachO.h +++ b/llvm/include/llvm/Object/MachO.h @@ -608,7 +608,7 @@ public: case MachO::PLATFORM_TVOS: return "tvos"; case MachO::PLATFORM_WATCHOS: return "watchos"; case MachO::PLATFORM_BRIDGEOS: return "bridgeos"; - case MachO::PLATFORM_MACCATALYST: return "maccatalyst"; + case MachO::PLATFORM_MACCATALYST: return "macCatalyst"; case MachO::PLATFORM_IOSSIMULATOR: return "iossimulator"; case MachO::PLATFORM_TVOSSIMULATOR: return "tvossimulator"; case MachO::PLATFORM_WATCHOSSIMULATOR: return "watchossimulator"; diff --git a/llvm/test/MC/MachO/darwin-version-min-load-command.s b/llvm/test/MC/MachO/darwin-version-min-load-command.s index 2567686..100faac 100644 --- a/llvm/test/MC/MachO/darwin-version-min-load-command.s +++ b/llvm/test/MC/MachO/darwin-version-min-load-command.s @@ -37,7 +37,7 @@ // CHECK-MACCATALYST: cmd LC_BUILD_VERSION // CHECK-MACCATALYST-NEXT: cmdsize 24 -// CHECK-MACCATALYST-NEXT: platform maccatalyst +// CHECK-MACCATALYST-NEXT: platform macCatalyst // CHECK-MACCATALYST-NEXT: sdk n/a // CHECK-MACCATALYST-NEXT: minos 13.0 // CHECK-MACCATALYST-NEXT: ntools 0 diff --git a/llvm/test/tools/llvm-objdump/X86/macho-maccatalyst-build-version.yaml b/llvm/test/tools/llvm-objdump/X86/macho-maccatalyst-build-version.yaml index 4d2f5d6..b143aea 100644 --- a/llvm/test/tools/llvm-objdump/X86/macho-maccatalyst-build-version.yaml +++ b/llvm/test/tools/llvm-objdump/X86/macho-maccatalyst-build-version.yaml @@ -49,6 +49,6 @@ LoadCommands: CHECK: Load command 1 CHECK-NEXT: cmd LC_BUILD_VERSION CHECK-NEXT: cmdsize 32 -CHECK-NEXT: platform maccatalyst +CHECK-NEXT: platform macCatalyst CHECK-NEXT: sdk 9.0 CHECK-NEXT: minos 13.0