diff options
author | Roman Divacky <rdivacky@freebsd.org> | 2012-09-18 17:10:37 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@freebsd.org> | 2012-09-18 17:10:37 +0000 |
commit | f145c135f3a28e2c59bd02e475fbf09f4157c9fb (patch) | |
tree | 8a4e5b702e05d062befdbd1d87979acdd170b1ac /include | |
parent | 371d5d86bd70756d2066692114fec599c33baf92 (diff) | |
download | llvm-f145c135f3a28e2c59bd02e475fbf09f4157c9fb.tar.gz llvm-f145c135f3a28e2c59bd02e475fbf09f4157c9fb.tar.bz2 llvm-f145c135f3a28e2c59bd02e475fbf09f4157c9fb.tar.xz |
Avoid symbol name clash when filling TOC.
Patch by Adhemerval Zanella.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164141 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCContext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/MC/MCContext.h b/include/llvm/MC/MCContext.h index 23652f00d0..5a8830cb66 100644 --- a/include/llvm/MC/MCContext.h +++ b/include/llvm/MC/MCContext.h @@ -183,6 +183,7 @@ namespace llvm { /// LookupSymbol - Get the symbol for \p Name, or null. MCSymbol *LookupSymbol(StringRef Name) const; + MCSymbol *LookupSymbol(const Twine &Name) const; /// getSymbols - Get a reference for the symbol table for clients that /// want to, for example, iterate over all symbols. 'const' because we |