[PATCH] D42758: Support `#pragma comment(lib, "name")` in the frontend for ELF

Rui Ueyama via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 31 13:09:28 PST 2018


ruiu added a comment.

`#pragma comment` is what Microsoft is using, but is everybody happy about that name? It isn't clear at least to me that what it actually means is linker directives.

I also wonder which is better `#pragma comment(lib, "m")` or `#pragma comment(lib, "m")`.


Repository:
  rC Clang

https://reviews.llvm.org/D42758





More information about the cfe-commits mailing list