From 7e9df19d5f935c52ed4f550997f944930874146d Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 13 Mar 2014 18:09:26 +0000 Subject: Use printable names to implement directional labels. This changes the implementation of local directional labels to use a dedicated map. With that it can then just use CreateTempSymbol, which is what the rest of MC uses. CreateTempSymbol doesn't do a great job at making sure the names are unique (or being efficient when the names are not needed), but that should probably be fixed in a followup patch. This fixes pr18928. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203826 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/X86/intel-syntax-directional-label.s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/MC/X86') diff --git a/test/MC/X86/intel-syntax-directional-label.s b/test/MC/X86/intel-syntax-directional-label.s index 1ed16733bb..c1aa90f192 100644 --- a/test/MC/X86/intel-syntax-directional-label.s +++ b/test/MC/X86/intel-syntax-directional-label.s @@ -8,9 +8,10 @@ FUNCTION_NAME: .intel_syntax cmp rdi, 1 jge 1f -// CHECK: jge "L11" +// CHECK: jge Ltmp0 add rdi, 2 +// CHECK: addq $2, %rdi 1: -// CHECK: "L11": +// CHECK: Ltmp0: add rdi, 1 ret -- cgit v1.2.3