aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineDebugInfoDesc.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-07-01 22:08:01 +0000
committerBill Wendling <isanbard@gmail.com>2008-07-01 22:08:01 +0000
commita28cd12b064d6af333e6c16499ad26c27d010450 (patch)
tree4beaf22be39ab558db952312a73d6a479ffb52bd /include/llvm/CodeGen/MachineDebugInfoDesc.h
parentecdc82a643067346eb9808fd896ae6a6f6b8f2cd (diff)
- Update comments.
- Don't use GlobalVariable::LinkageTypes when unsigned works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52987 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineDebugInfoDesc.h')
-rw-r--r--include/llvm/CodeGen/MachineDebugInfoDesc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/MachineDebugInfoDesc.h b/include/llvm/CodeGen/MachineDebugInfoDesc.h
index a79a12170d..50f093d21f 100644
--- a/include/llvm/CodeGen/MachineDebugInfoDesc.h
+++ b/include/llvm/CodeGen/MachineDebugInfoDesc.h
@@ -7,15 +7,15 @@
//
//===----------------------------------------------------------------------===//
//
-//
-//
+// Debug descriptor information for a module.
+//
//===----------------------------------------------------------------------===//
#ifndef LLVM_CODEGEN_MACHINEDEBUGINFODESC_H
#define LLVM_CODEGEN_MACHINEDEBUGINFODESC_H
-#include "llvm/GlobalValue.h"
#include "llvm/Support/DataTypes.h"
+#include <string>
#include <vector>
namespace llvm {
@@ -67,7 +67,7 @@ public:
/// getLinkage - get linkage appropriate for this type of descriptor.
///
- virtual GlobalValue::LinkageTypes getLinkage() const;
+ virtual unsigned getLinkage() const;
//===--------------------------------------------------------------------===//
// Subclasses should supply the following virtual methods.
@@ -111,7 +111,7 @@ public:
/// getLinkage - get linkage appropriate for this type of descriptor.
///
- virtual GlobalValue::LinkageTypes getLinkage() const;
+ virtual unsigned getLinkage() const;
/// ApplyToFields - Target the visitor to the fields of the AnchorDesc.
///