mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-29 15:17:14 +00:00
DIBuilder: allow linkage name to be specified for global variables
Patch by Kai Nacke (kai@redstar.de) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177547 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -407,6 +407,19 @@ namespace llvm {
|
||||
createGlobalVariable(StringRef Name, DIFile File, unsigned LineNo,
|
||||
DIType Ty, bool isLocalToUnit, llvm::Value *Val);
|
||||
|
||||
/// \brief Create a new descriptor for the specified global.
|
||||
/// @param Name Name of the variable.
|
||||
/// @param LinkageName Mangled variable name.
|
||||
/// @param File File where this variable is defined.
|
||||
/// @param LineNo Line number.
|
||||
/// @param Ty Variable Type.
|
||||
/// @param isLocalToUnit Boolean flag indicate whether this variable is
|
||||
/// externally visible or not.
|
||||
/// @param Val llvm::Value of the variable.
|
||||
DIGlobalVariable
|
||||
createGlobalVariable(StringRef Name, StringRef LinkageName, DIFile File,
|
||||
unsigned LineNo, DIType Ty, bool isLocalToUnit,
|
||||
llvm::Value *Val);
|
||||
|
||||
/// createStaticVariable - Create a new descriptor for the specified
|
||||
/// variable.
|
||||
|
Reference in New Issue
Block a user