commit | 2c3991acf3c78c35b4e977a7ae023924f1443054 | [log] [tgz] |
---|---|---|
author | Mikhail Glushenkov <foldr@codedgers.com> | Tue Nov 02 20:32:59 2010 +0000 |
committer | Mikhail Glushenkov <foldr@codedgers.com> | Tue Nov 02 20:32:59 2010 +0000 |
tree | 972c4c760326dbc717fc6abd226266b88983c07c | |
parent | f26f4a05354868bf576638e750896a0c8dc80515 [diff] [blame] |
GetDLLSuffix: Remove the leading dot from LTDL_SHLIB_EXT. This allows using GetDLLSuffix() with appendSuffix(). llvm-svn: 118051
diff --git a/llvm/lib/System/Path.cpp b/llvm/lib/System/Path.cpp index ae166a57..8fc4153 100644 --- a/llvm/lib/System/Path.cpp +++ b/llvm/lib/System/Path.cpp
@@ -192,7 +192,7 @@ } StringRef Path::GetDLLSuffix() { - return LTDL_SHLIB_EXT; + return &(LTDL_SHLIB_EXT[1]); } bool