summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2007-07-06 20:28:40 +0000
committerGabor Greif <ggreif@gmail.com>2007-07-06 20:28:40 +0000
commitdb5565a1f549a979c84e559e18863f4c1d8f884f (patch)
treee899442d44084ca03dd071535965f2f282ce07ed /lib
parent2c194e6bd10b864e72b50c7cd071c5fd9c04282e (diff)
downloadllvm-db5565a1f549a979c84e559e18863f4c1d8f884f.tar.gz
llvm-db5565a1f549a979c84e559e18863f4c1d8f884f.tar.bz2
llvm-db5565a1f549a979c84e559e18863f4c1d8f884f.tar.xz
finishing touches of bytecode -> bitcode changes. also unbreak Windows
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Archive/ArchiveReader.cpp2
-rw-r--r--lib/System/Win32/Path.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Archive/ArchiveReader.cpp b/lib/Archive/ArchiveReader.cpp
index c8ffcd6863..529b652707 100644
--- a/lib/Archive/ArchiveReader.cpp
+++ b/lib/Archive/ArchiveReader.cpp
@@ -204,7 +204,7 @@ Archive::parseMemberHeader(const char*& At, const char* End, std::string* error)
break;
}
- // Determine if this is a bytecode file
+ // Determine if this is a bitcode file
switch (sys::IdentifyFileType(At, 4)) {
case sys::Bitcode_FileType:
flags |= ArchiveMember::BitcodeFlag;
diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc
index 67f16a75b6..994bc671c1 100644
--- a/lib/System/Win32/Path.inc
+++ b/lib/System/Win32/Path.inc
@@ -189,7 +189,7 @@ Path::GetSystemLibraryPaths(std::vector<sys::Path>& Paths) {
}
void
-Path::GetBytecodeLibraryPaths(std::vector<sys::Path>& Paths) {
+Path::GetBitcodeLibraryPaths(std::vector<sys::Path>& Paths) {
char * env_var = getenv("LLVM_LIB_SEARCH_PATH");
if (env_var != 0) {
getPathList(env_var,Paths);