diff options
author | Devang Patel <dpatel@apple.com> | 2010-12-08 00:06:22 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-12-08 00:06:22 +0000 |
commit | 94541efd9238ee0ab615d22dcd6182199490ae61 (patch) | |
tree | da867c40d3fc01d2b7e45e720ff7f02353befbc2 /include | |
parent | 48f17ba2a611d197082d4de730b646a4ecf68df4 (diff) | |
download | external_llvm-94541efd9238ee0ab615d22dcd6182199490ae61.zip external_llvm-94541efd9238ee0ab615d22dcd6182199490ae61.tar.gz external_llvm-94541efd9238ee0ab615d22dcd6182199490ae61.tar.bz2 |
Global variable does not need linkage name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/DIBuilder.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Analysis/DIBuilder.h b/include/llvm/Analysis/DIBuilder.h index 62f2294..4235c11 100644 --- a/include/llvm/Analysis/DIBuilder.h +++ b/include/llvm/Analysis/DIBuilder.h @@ -158,7 +158,6 @@ namespace llvm { /// CreateGlobalVariable - Create a new descriptor for the specified global. /// @param Name Name of the variable. - /// @param LinakgeName Mangled name of the variable. /// @param File File where this variable is defined. /// @param LineNo Line number. /// @param Ty Variable Type. @@ -166,8 +165,7 @@ namespace llvm { /// externally visible or not. /// @param Val llvm::Value of the variable. DIGlobalVariable - CreateGlobalVariable(StringRef Name, - StringRef LinkageName, DIFile File, unsigned LineNo, + CreateGlobalVariable(StringRef Name, DIFile File, unsigned LineNo, DIType Ty, bool isLocalToUnit, llvm::Value *Val); |