[PATCH] D32109: [Driver] Limit .exe extension addition to Windows hosts

Shoaib Meenai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 24 17:48:07 PDT 2017


smeenai added a comment.

> Why not always replace the extension? Windows doesnt require the .exe suffix IIRC.

CreateProcess documentation says "This parameter must include the file name extension; no default extension is assumed.". That's kinda surprising to me, since LoadLibrary assumes a `.dll` extension.


https://reviews.llvm.org/D32109





More information about the cfe-commits mailing list