summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Path.cpp
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2010-11-02 20:32:59 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2010-11-02 20:32:59 +0000
commit2c3991acf3c78c35b4e977a7ae023924f1443054 (patch)
tree972c4c760326dbc717fc6abd226266b88983c07c /llvm/lib/System/Path.cpp
parentf26f4a05354868bf576638e750896a0c8dc80515 (diff)
downloadbcm5719-llvm-2c3991acf3c78c35b4e977a7ae023924f1443054.tar.gz
bcm5719-llvm-2c3991acf3c78c35b4e977a7ae023924f1443054.zip
GetDLLSuffix: Remove the leading dot from LTDL_SHLIB_EXT.
This allows using GetDLLSuffix() with appendSuffix(). llvm-svn: 118051
Diffstat (limited to 'llvm/lib/System/Path.cpp')
-rw-r--r--llvm/lib/System/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Path.cpp b/llvm/lib/System/Path.cpp
index ae166a574d1..8fc4153acb1 100644
--- a/llvm/lib/System/Path.cpp
+++ b/llvm/lib/System/Path.cpp
@@ -192,7 +192,7 @@ Path::FindLibrary(std::string& name) {
}
StringRef Path::GetDLLSuffix() {
- return LTDL_SHLIB_EXT;
+ return &(LTDL_SHLIB_EXT[1]);
}
bool
OpenPOWER on IntegriCloud