diff options
author | Dan Gohman <gohman@apple.com> | 2007-09-24 21:09:53 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-09-24 21:09:53 +0000 |
commit | 72252732c8d31dc6af78e82ba9f9467d77152ecc (patch) | |
tree | 45746c199c58758f85a52214e1c0f92afc919d50 /include/llvm | |
parent | 6b92942c9c5c2cc94bffe0850b41afce3b3e991f (diff) | |
download | external_llvm-72252732c8d31dc6af78e82ba9f9467d77152ecc.zip external_llvm-72252732c8d31dc6af78e82ba9f9467d77152ecc.tar.gz external_llvm-72252732c8d31dc6af78e82ba9f9467d77152ecc.tar.bz2 |
Merge hasDotLoc and hasDotFile into hasDotLocAndDotFile since .loc and .file
aren't really usable without each other.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 5a661a9..b4bb8ec 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -286,14 +286,11 @@ namespace llvm { /// bool HasLEB128; // Defaults to false. - /// hasDotLoc - True if target asm supports .loc directives. + /// hasDotLocAndDotFile - True if target asm supports .loc and .file + /// directives for emitting debugging information. /// - bool HasDotLoc; // Defaults to false. + bool HasDotLocAndDotFile; // Defaults to false. - /// HasDotFile - True if target asm supports .file directives. - /// - bool HasDotFile; // Defaults to false. - /// SupportsDebugInformation - True if target supports emission of debugging /// information. bool SupportsDebugInformation; @@ -568,11 +565,8 @@ namespace llvm { bool hasLEB128() const { return HasLEB128; } - bool hasDotLoc() const { - return HasDotLoc; - } - bool hasDotFile() const { - return HasDotFile; + bool hasDotLocAndDotFile() const { + return HasDotLocAndDotFile; } bool doesSupportDebugInformation() const { return SupportsDebugInformation; |