diff options
author | Dan Gohman <djg@cray.com> | 2007-09-24 21:09:53 +0000 |
---|---|---|
committer | Dan Gohman <djg@cray.com> | 2007-09-24 21:09:53 +0000 |
commit | 307ad2092feb263dd106d58d37194eb9facc8238 (patch) | |
tree | 45746c199c58758f85a52214e1c0f92afc919d50 /include | |
parent | 236811313a7f25912abdb02c0569918480de3809 (diff) | |
download | external_llvm-307ad2092feb263dd106d58d37194eb9facc8238.zip external_llvm-307ad2092feb263dd106d58d37194eb9facc8238.tar.gz external_llvm-307ad2092feb263dd106d58d37194eb9facc8238.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')
-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; |