aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-19 20:56:22 +0000
committerChris Lattner <sabre@nondot.org>2004-11-19 20:56:22 +0000
commit2dbdc8e3fe31186fc1b4acd2ac363b540ef687ff (patch)
tree63056138776355afc0c124a22710fdaee23bdcc0
parent7b55d4fce2c2b8eebbb1fc654400c7d46fd6bfba (diff)
External symbols are const char*'s now, change this to match.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18008 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/MachineCodeEmitter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineCodeEmitter.h b/include/llvm/CodeGen/MachineCodeEmitter.h
index dc7aa5e09c..c9eabf3cc3 100644
--- a/include/llvm/CodeGen/MachineCodeEmitter.h
+++ b/include/llvm/CodeGen/MachineCodeEmitter.h
@@ -83,7 +83,7 @@ public:
/// handle the situation.
///
virtual uint64_t getGlobalValueAddress(GlobalValue *V) = 0;
- virtual uint64_t getGlobalValueAddress(const std::string &Name) = 0;
+ virtual uint64_t getGlobalValueAddress(const char *SymName) = 0;
// getConstantPoolEntryAddress - Return the address of the 'Index' entry in
// the constant pool that was last emitted with the 'emitConstantPool' method.