External symbols are const char*'s now, change this to match.
authorChris Lattner <sabre@nondot.org>
Fri, 19 Nov 2004 20:56:22 +0000 (20:56 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 19 Nov 2004 20:56:22 +0000 (20:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18008 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineCodeEmitter.h

index dc7aa5e09cb8c1a64ffb58563f2aa087ec60650b..c9eabf3cc3f14328207fd96afebd0816fcc6bb39 100644 (file)
@@ -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.