[cfe-commits] Windows driver cleanup (or however you want to call it)

João Matos ripzonetriton at gmail.com
Sat Jul 14 08:41:47 PDT 2012

I've done some work on this a few weeks ago and sent a patch to bug
11792  (http://llvm.org/bugs/show_bug.cgi?id=11792).

The improvements:

- Refactors the registry lookup code
- Adds the improved SDK lookup patch on the bug
- Adds MS C++ standard library support to the driver
- Enables MS ABI automatically when targetting the MS C++ libraries
- Also temporarily disables RTTI by default since it does not work yet

Patch attached.

On Sat, Jul 14, 2012 at 1:15 PM, Nikola Smiljanic <popizdeh at gmail.com> wrote:
> Any user supplied target triple should be ignored. This is what I find a bit
> problematic, users are expected to know what is going on. The active
> environment is what determines which triple to use. Michel mentioned
> implementing which command but we actually only need the path to cl.exe (no
> need to iterate over all extensions in PATHEXT). cl.exe from VC/BIN
> directory targets x86 while the ones from amd64 and x86_amd64 both target
> x64.

João Matos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-MS-driver-improvements.patch
Type: application/octet-stream
Size: 20950 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120714/f1cbc301/attachment.obj>

More information about the cfe-commits mailing list