[llvm-commits] [PATCH][System/Path] Update comments to match code.
rafael.espindola at gmail.com
Tue Nov 9 14:34:52 CST 2010
On 8 November 2010 20:49, Michael Spencer <bigcheesegs at gmail.com> wrote:
> Neither the Unix or Windows implementation include
> LLVM_LIB_SEARCH_PATH. I'm assuming the comments are wrong. Just making
> sure it's not the code that is wrong.
Probably a cut and paste error,GetBitcodeLibraryPaths uses that variable.
The only indirect user I can find is in llvm-ld. Maybe we could move
this stuff there?
> Also, the Windows implementation is completely wrong on a multitude of
> levels. It should be using SHGetFolderPath instead of hard coding
> C:\Windows, and none of those directories contain any libraries that
> are actually used on modern Windows.
> What is the actual purpose of this function? To get libraries for link
> time or runtime? If it's for link time then what we really want is the
> platform sdk and MSVC directories, or something else on MinGW. If it's
> for runtime then... well... take your pick. There are quite a few
> directories depending on the OS version, Architecture, etc... And then
> there's MinGW.
> - Michael Spencer
More information about the llvm-commits