From 2e7eedf38270aa28e19fb14c849bfadc84eab9a8 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Sun, 11 Nov 2007 19:53:50 +0000 Subject: [PATCH] Clarify the meaning of '-2' register number git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43998 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Target.td | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/Target/Target.td b/lib/Target/Target.td index c7aaed969e4..169953f0eaf 100644 --- a/lib/Target/Target.td +++ b/lib/Target/Target.td @@ -53,7 +53,8 @@ class Register { // These values can be determined by locating the .h file in the // directory llvmgcc/gcc/config// and looking for REGISTER_NAMES. The // order of these names correspond to the enumeration used by gcc. A value of - // -1 indicates that the gcc number is undefined. + // -1 indicates that the gcc number is undefined and -2 that register number + // is invalid for this mode/flavour. list DwarfNumbers = []; } @@ -138,7 +139,8 @@ class DwarfRegNum Numbers> { // These values can be determined by locating the .h file in the // directory llvmgcc/gcc/config// and looking for REGISTER_NAMES. The // order of these names correspond to the enumeration used by gcc. A value of - // -1 indicates that the gcc number is undefined. + // -1 indicates that the gcc number is undefined and -2 that register number is + // invalid for this mode/flavour. list DwarfNumbers = Numbers; }