Add support for files with more than 65280 sections. No testcase since
[oota-llvm.git] / include / llvm / Support / StringPool.h
index 82e46d42c69dcb5b98300ffb38f9899695534733..de05e0b547a1bf15f2a427fac36e7ae3d23ecbc8 100644 (file)
@@ -64,7 +64,7 @@ namespace llvm {
     /// intern - Adds a string to the pool and returns a reference-counted
     /// pointer to it. No additional memory is allocated if the string already
     /// exists in the pool.
-    PooledStringPtr intern(const StringRef &Str);
+    PooledStringPtr intern(StringRef Str);
 
     /// empty - Checks whether the pool is empty. Returns true if so.
     ///