From b6bbe39ff98cec74bd6a16ec556b07ed2811dd43 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 26 Jul 2007 15:24:15 +0000 Subject: [PATCH] In the .loc directive, print the fields as "debug" fields, so they don't get decorated as if for immediate fields for instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40529 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrInfo.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index e0d284f73f7..906e7b210b1 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -2498,7 +2498,7 @@ def TLS_tp : I<0, Pseudo, (outs GR32:$dst), (ins), def DWARF_LOC : I<0, Pseudo, (outs), (ins i32imm:$line, i32imm:$col, i32imm:$file), - "; .loc $file, $line, $col", + "; .loc ${file:debug}, ${line:debug}, ${col:debug}", [(dwarf_loc (i32 imm:$line), (i32 imm:$col), (i32 imm:$file))]>;