mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
add a new helper method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
21b6c9d647
commit
6665b97ae9
@ -148,6 +148,12 @@ public:
|
||||
GlobalVariable *getGlobalVariable(const std::string &Name, const Type *Ty,
|
||||
bool AllowInternal = false);
|
||||
|
||||
/// getNamedGlobal - Return the first global variable in the module with the
|
||||
/// specified name, of arbitrary type. This method returns null if a global
|
||||
/// with the specified name is not found.
|
||||
///
|
||||
GlobalVariable *getNamedGlobal(const std::string &Name);
|
||||
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// Methods for easy access to the types in the module.
|
||||
|
Loading…
Reference in New Issue
Block a user