summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/build-attributes-encoding.s
diff options
context:
space:
mode:
authorCharlie Turner <charlie.turner@arm.com>2014-11-27 12:13:56 +0000
committerCharlie Turner <charlie.turner@arm.com>2014-11-27 12:13:56 +0000
commit72ba1af89cf6fa56f5fa499f55c8733d16067c28 (patch)
treee6a6808196e16105031512aca68493ff9bfd14e3 /test/CodeGen/ARM/build-attributes-encoding.s
parent578b3ccd8fb426f8fbfd497b8753a8337b61abf2 (diff)
Stop uppercasing build attribute data.
The string data for string-valued build attributes were being unconditionally uppercased. There is no mention in the ARM ABI addenda about case conventions, so it's technically implementation defined as to whether the data are capitialised in some way or not. However, there are good reasons not to captialise the data. * It's less work. * Some vendors may legitimately have case-sensitive checks for these attributes which would fail on LLVM generated object files. * There could be locale issues with uppercasing. The original reasons for uppercasing appear to have stemmed from an old codesourcery toolchain behaviour, see http://comments.gmane.org/gmane.comp.compilers.llvm.cvs/87133 This patch makes the object file emitted no longer captialise string data, it encodes as seen in the assembly source. Change-Id: Ibe20dd6e60d2773d57ff72a78470839033aa5538 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/build-attributes-encoding.s')
-rw-r--r--test/CodeGen/ARM/build-attributes-encoding.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/build-attributes-encoding.s b/test/CodeGen/ARM/build-attributes-encoding.s
index 34a1ad38fb1..29f13f09d31 100644
--- a/test/CodeGen/ARM/build-attributes-encoding.s
+++ b/test/CodeGen/ARM/build-attributes-encoding.s
@@ -78,7 +78,7 @@
// CHECK-NEXT: EntrySize: 0
// CHECK-NEXT: SectionData (
// CHECK-NEXT: 0000: 41460000 00616561 62690001 3C000000
-// CHECK-NEXT: 0010: 05434F52 5445582D 41380006 0A074108
+// CHECK-NEXT: 0010: 05636F72 7465782D 61380006 0A074108
// CHECK-NEXT: 0020: 0109020A 030C0214 01150117 01180119
// CHECK-NEXT: 0030: 011B001C 0124012A 012C0244 036EA001
// CHECK-NEXT: 0040: 81013100 FA0101