0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/src/analyze.cpp

6162 lines
248 KiB

WIN32: Linking with the CRT at runtime. (#570) Disclaimer: Forgive me if my format sucks, I've never submitted a PR before! Fixes: #517 I added a few things to allow zig to link with the CRT properly both statically and dynamically. In Visual Studio 2017, Microsoft changed how the c-runtime is factored again. With this change, they also added a COM interface to allow you to query the respective Visual Studio instance for two of them. This does that and also falls back on a registry query for 2015 support. If you're using a Visual Studio instance older than 2015, you'll have to use the existing options available with the zig compiler. Changes are listed below along with a general description of the changes. all_types.cpp: The separate variables for msvc/kern32 have been removed and all win32 libc directory paths have been combined into a ZigList since we're querying more than two directories and differentiating one from another doesn't matter to lld. analyze.cpp: The existing functions were extended to support querying libc libs & libc headers at runtime. codegen.cpp/hpp: Microsoft uses the new 'Universal C Runtime' name now. Doesn't matter from a functionality standpoint. I left the compiler switches as is to not introduce any breaking changes. link.cpp: We're linking 4 libs and generating another in order to support the UCRT. Dynamic: msvcrt/d, vcruntime/d, ucrt/d, legacy_stdio_definitions.lib Static: libcmt/d, libvcruntime/d libucrt/d, legacy_stdio_definitions.lib main.cpp: Update function call names. os.cpp/hpp: COM/Registry interface for querying Windows UCRT/SDK. Sources: [Windows CRT](https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features) [VS 2015 Breaking Changes](https://msdn.microsoft.com/en-us/library/bb531344.aspx)
2017-11-01 14:33:14 -05:00
2015-11-30 09:14:58 -07:00
2016-09-30 02:21:21 -04:00
2015-11-30 09:14:58 -07:00
2016-09-30 02:21:21 -04:00
2015-11-30 22:53:37 -07:00
2016-09-30 02:21:21 -04:00
2015-11-30 09:14:58 -07:00
2015-12-08 15:31:43 -07:00
2017-11-24 14:56:05 -05:00
2015-11-30 09:14:58 -07:00
2017-11-24 14:56:05 -05:00
2015-12-08 14:15:34 -07:00
2015-12-07 08:29:19 -07:00
2015-12-08 14:15:34 -07:00
2015-12-07 08:29:19 -07:00
2016-04-24 11:24:04 -07:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2016-12-06 21:26:17 -05:00
2016-12-05 18:43:16 -05:00
2016-12-06 21:26:17 -05:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2017-04-10 20:02:39 -04:00
2016-01-03 19:38:36 -07:00
2016-10-30 02:46:16 -04:00
2016-04-24 11:24:04 -07:00
2017-04-13 03:07:58 -04:00
2016-08-25 17:25:18 -07:00
2018-01-31 01:51:15 -05:00
2018-02-20 16:42:14 -05:00
2016-02-09 08:46:55 -07:00
2018-01-31 01:51:15 -05:00
2017-04-13 03:07:58 -04:00
2018-02-20 16:42:14 -05:00
2016-05-07 18:45:28 -07:00
2016-05-07 18:45:28 -07:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2016-05-07 18:45:28 -07:00
2016-05-07 18:45:28 -07:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2016-05-07 18:45:28 -07:00
2018-02-20 16:42:14 -05:00
2017-09-10 15:01:37 -04:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2015-12-01 14:41:03 -07:00
2015-12-01 14:41:03 -07:00
2015-12-01 14:41:03 -07:00
2016-01-04 03:52:37 -07:00
2016-01-02 00:06:06 -07:00
2016-01-02 00:06:06 -07:00
2016-01-02 00:06:06 -07:00
2016-09-09 12:25:16 -04:00
2016-09-09 12:25:16 -04:00
2016-02-04 14:02:37 -07:00
2016-02-04 14:02:37 -07:00
2016-02-04 14:02:37 -07:00
2016-09-09 12:25:16 -04:00
2016-09-09 12:25:16 -04:00
2017-05-02 18:21:55 -04:00
2016-09-09 12:25:16 -04:00
2016-09-09 12:25:16 -04:00
2016-01-02 00:06:06 -07:00
2018-01-31 01:51:15 -05:00
2018-01-31 22:48:40 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2018-02-09 00:24:23 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2015-12-07 08:29:19 -07:00
2016-01-04 03:52:37 -07:00
2015-12-07 08:29:19 -07:00
2017-05-23 00:26:12 -04:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2015-12-07 08:29:19 -07:00
2016-01-18 04:34:26 -07:00
2016-04-24 16:33:41 -07:00
2016-01-18 04:34:26 -07:00
2016-01-18 04:34:26 -07:00
2016-01-18 04:34:26 -07:00
2016-01-06 01:28:58 -07:00
2016-01-18 04:34:26 -07:00
2016-02-07 01:53:38 -07:00
2016-01-06 01:28:58 -07:00
2016-01-06 01:28:58 -07:00
2016-01-06 01:28:58 -07:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2018-02-20 00:31:52 -05:00
2018-02-20 00:31:52 -05:00
2016-02-07 18:32:19 -07:00
2016-02-07 18:32:19 -07:00
2016-02-07 18:32:19 -07:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2016-02-07 18:32:19 -07:00
2016-04-24 11:24:04 -07:00
2017-02-03 11:39:24 -05:00
2017-02-03 11:39:24 -05:00
2017-02-03 11:39:24 -05:00
2016-04-24 11:24:04 -07:00
2017-02-03 11:39:24 -05:00
2016-04-24 11:24:04 -07:00
2017-04-10 20:02:39 -04:00
2016-12-18 16:56:50 -05:00
2016-09-09 12:25:16 -04:00
2017-11-14 23:53:53 -05:00
2017-04-10 20:02:39 -04:00
2016-12-18 16:56:50 -05:00
2016-12-04 23:52:43 -05:00
2016-12-18 16:56:50 -05:00
2016-11-04 15:36:30 -04:00
2016-12-05 05:12:05 -05:00
2017-12-19 01:19:49 -05:00
2016-12-05 05:12:05 -05:00
2016-12-05 05:12:05 -05:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2018-01-31 01:51:15 -05:00
2018-02-20 16:42:14 -05:00
2018-01-31 01:51:15 -05:00
2018-02-20 16:42:14 -05:00
2018-02-01 10:23:25 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2016-08-25 17:25:18 -07:00
2017-04-13 03:07:58 -04:00
2018-02-20 16:42:14 -05:00
2018-01-31 01:51:15 -05:00
2016-04-24 11:24:04 -07:00
2018-02-20 16:42:14 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 22:48:40 -05:00
2018-01-31 01:51:15 -05:00
2016-09-08 00:24:48 -04:00
2016-09-08 00:24:48 -04:00
2017-04-13 03:07:58 -04:00
2016-09-08 00:24:48 -04:00
2016-09-08 00:24:48 -04:00
2016-09-08 00:24:48 -04:00
2018-01-31 01:51:15 -05:00
2016-09-08 00:24:48 -04:00
2018-02-20 16:42:14 -05:00
2016-09-08 00:24:48 -04:00
2017-01-13 16:24:13 -05:00
2017-11-14 23:53:53 -05:00
2016-09-09 12:25:16 -04:00
2016-01-11 01:15:17 -07:00
2016-01-27 14:18:20 -07:00
2015-12-16 17:11:35 -07:00
2015-12-16 17:11:35 -07:00
2016-01-10 18:56:50 -07:00
2015-12-16 17:11:35 -07:00
2015-12-16 17:11:35 -07:00
2015-12-16 17:11:35 -07:00
2017-01-13 16:24:13 -05:00
2015-12-16 17:11:35 -07:00
2017-04-10 20:02:39 -04:00
2015-12-16 17:11:35 -07:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2016-01-27 14:18:20 -07:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2017-01-13 16:24:13 -05:00
2016-12-18 16:56:50 -05:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2016-09-09 12:25:16 -04:00
2017-04-10 20:02:39 -04:00
2016-02-04 14:02:37 -07:00
2016-09-09 12:25:16 -04:00
2016-12-18 16:56:50 -05:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2016-09-09 12:25:16 -04:00
2015-12-16 17:11:35 -07:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2016-04-24 11:24:04 -07:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2017-01-13 16:24:13 -05:00
2017-04-10 20:02:39 -04:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2016-12-18 16:56:50 -05:00
2016-12-18 16:56:50 -05:00
2017-12-18 09:59:57 -05:00
2016-12-05 05:12:05 -05:00
2017-12-18 09:59:57 -05:00
2016-12-05 05:12:05 -05:00
2016-12-05 05:12:05 -05:00
2016-12-18 16:56:50 -05:00
2018-01-13 01:00:50 -05:00
2018-01-13 01:00:50 -05:00
2018-01-31 01:51:15 -05:00
2017-12-19 01:49:42 -05:00
2017-12-19 01:49:42 -05:00
2017-12-19 01:49:42 -05:00
2017-12-19 01:49:42 -05:00
2016-09-08 00:24:48 -04:00
2017-12-19 01:49:42 -05:00
2016-12-05 05:12:05 -05:00
2017-12-18 09:59:57 -05:00
2018-01-31 01:51:15 -05:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2017-12-19 01:19:49 -05:00
2016-11-04 15:36:30 -04:00
2016-12-18 16:56:50 -05:00
2017-01-10 15:39:52 -05:00
2016-12-18 16:56:50 -05:00
2016-11-04 15:36:30 -04:00
2016-12-18 16:56:50 -05:00
2016-11-04 15:36:30 -04:00
2016-12-18 16:56:50 -05:00
2016-11-04 15:36:30 -04:00
2016-12-18 16:56:50 -05:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-12-18 16:56:50 -05:00
2016-11-04 15:36:30 -04:00
2016-12-18 16:56:50 -05:00
2016-11-04 15:36:30 -04:00
2016-12-18 16:56:50 -05:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2018-04-30 14:20:56 -04:00
2016-11-04 15:36:30 -04:00
2018-01-31 01:51:15 -05:00
2018-02-28 22:18:48 -05:00
2016-11-04 15:36:30 -04:00
2016-12-12 01:59:55 -05:00
2016-12-12 01:59:55 -05:00
2016-10-29 19:14:48 -04:00
2017-04-13 03:07:58 -04:00
2016-10-29 19:14:48 -04:00
2017-04-13 03:07:58 -04:00
2016-10-29 19:14:48 -04:00
2017-04-13 03:07:58 -04:00
2016-10-29 19:14:48 -04:00
2018-01-31 01:51:15 -05:00
2016-10-29 19:14:48 -04:00
2018-02-20 16:42:14 -05:00
2016-10-29 19:14:48 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2017-01-10 15:39:52 -05:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-10-29 19:14:48 -04:00
2017-12-19 01:19:49 -05:00
2016-10-29 19:14:48 -04:00
2016-10-29 19:14:48 -04:00
2017-12-19 01:19:49 -05:00
2017-12-19 01:19:49 -05:00
2016-10-29 19:14:48 -04:00
2016-12-18 16:56:50 -05:00
2016-10-29 19:14:48 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-11-04 15:36:30 -04:00
2016-10-29 19:14:48 -04:00
2016-10-29 19:14:48 -04:00
2017-12-18 09:59:57 -05:00
2016-10-29 19:14:48 -04:00
2015-11-30 09:14:58 -07:00
2015-11-30 09:14:58 -07:00
2017-02-23 16:52:13 -05:00
2017-02-23 16:52:13 -05:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2016-12-05 18:43:16 -05:00
2016-10-30 02:46:16 -04:00
2016-01-11 01:15:17 -07:00
2016-10-30 02:46:16 -04:00
2017-11-14 23:53:53 -05:00
2017-11-14 23:53:53 -05:00
2018-01-31 01:51:15 -05:00
2018-02-20 16:42:14 -05:00
2016-10-30 02:46:16 -04:00
2016-10-30 02:46:16 -04:00
2016-10-30 02:46:16 -04:00
2018-01-31 01:51:15 -05:00
2017-04-13 03:07:58 -04:00
2018-02-20 16:42:14 -05:00
2016-12-05 05:12:05 -05:00
2016-12-05 05:12:05 -05:00
2016-12-05 05:12:05 -05:00
2016-11-04 15:36:30 -04:00
2016-12-05 05:12:05 -05:00
2017-05-23 00:26:12 -04:00
2016-01-04 16:57:22 -07:00
2016-12-05 05:12:05 -05:00
2016-12-22 00:46:17 -05:00
2016-01-04 16:57:22 -07:00
2016-01-04 16:57:22 -07:00
2016-01-04 16:57:22 -07:00
2016-10-06 01:09:01 -04:00
2016-04-09 16:41:17 -07:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2016-10-06 01:09:01 -04:00
2016-01-04 16:57:22 -07:00
2017-01-12 18:10:05 -05:00
2017-01-12 18:10:05 -05:00
2017-01-12 18:10:05 -05:00
2016-11-26 20:52:22 -05:00
2017-01-12 18:10:05 -05:00
2016-11-26 20:52:22 -05:00
2016-11-04 15:36:30 -04:00
2016-12-18 16:56:50 -05:00
2017-09-01 03:16:35 -04:00
2016-09-09 12:25:16 -04:00
2017-12-18 09:59:57 -05:00
2017-12-18 09:59:57 -05:00
2015-11-30 22:53:37 -07:00
2018-01-31 01:51:15 -05:00
2015-12-01 02:08:58 -07:00
2015-12-01 02:08:58 -07:00
2015-11-30 22:53:37 -07:00
2016-01-04 03:31:57 -07:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2016-01-25 13:53:40 -07:00
2016-08-25 17:25:18 -07:00
2017-04-13 03:07:58 -04:00
2016-01-25 13:53:40 -07:00
2018-01-31 01:51:15 -05:00
2016-01-25 13:53:40 -07:00
2018-02-20 16:42:14 -05:00
2016-01-25 13:53:40 -07:00
2016-01-25 13:53:40 -07:00
2018-01-31 01:51:15 -05:00
2018-02-25 17:34:18 -05:00
2016-01-25 13:53:40 -07:00
WIN32: Linking with the CRT at runtime. (#570) Disclaimer: Forgive me if my format sucks, I've never submitted a PR before! Fixes: #517 I added a few things to allow zig to link with the CRT properly both statically and dynamically. In Visual Studio 2017, Microsoft changed how the c-runtime is factored again. With this change, they also added a COM interface to allow you to query the respective Visual Studio instance for two of them. This does that and also falls back on a registry query for 2015 support. If you're using a Visual Studio instance older than 2015, you'll have to use the existing options available with the zig compiler. Changes are listed below along with a general description of the changes. all_types.cpp: The separate variables for msvc/kern32 have been removed and all win32 libc directory paths have been combined into a ZigList since we're querying more than two directories and differentiating one from another doesn't matter to lld. analyze.cpp: The existing functions were extended to support querying libc libs & libc headers at runtime. codegen.cpp/hpp: Microsoft uses the new 'Universal C Runtime' name now. Doesn't matter from a functionality standpoint. I left the compiler switches as is to not introduce any breaking changes. link.cpp: We're linking 4 libs and generating another in order to support the UCRT. Dynamic: msvcrt/d, vcruntime/d, ucrt/d, legacy_stdio_definitions.lib Static: libcmt/d, libvcruntime/d libucrt/d, legacy_stdio_definitions.lib main.cpp: Update function call names. os.cpp/hpp: COM/Registry interface for querying Windows UCRT/SDK. Sources: [Windows CRT](https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features) [VS 2015 Breaking Changes](https://msdn.microsoft.com/en-us/library/bb531344.aspx)
2017-11-01 14:33:14 -05:00
WIN32: Linking with the CRT at runtime. (#570) Disclaimer: Forgive me if my format sucks, I've never submitted a PR before! Fixes: #517 I added a few things to allow zig to link with the CRT properly both statically and dynamically. In Visual Studio 2017, Microsoft changed how the c-runtime is factored again. With this change, they also added a COM interface to allow you to query the respective Visual Studio instance for two of them. This does that and also falls back on a registry query for 2015 support. If you're using a Visual Studio instance older than 2015, you'll have to use the existing options available with the zig compiler. Changes are listed below along with a general description of the changes. all_types.cpp: The separate variables for msvc/kern32 have been removed and all win32 libc directory paths have been combined into a ZigList since we're querying more than two directories and differentiating one from another doesn't matter to lld. analyze.cpp: The existing functions were extended to support querying libc libs & libc headers at runtime. codegen.cpp/hpp: Microsoft uses the new 'Universal C Runtime' name now. Doesn't matter from a functionality standpoint. I left the compiler switches as is to not introduce any breaking changes. link.cpp: We're linking 4 libs and generating another in order to support the UCRT. Dynamic: msvcrt/d, vcruntime/d, ucrt/d, legacy_stdio_definitions.lib Static: libcmt/d, libvcruntime/d libucrt/d, legacy_stdio_definitions.lib main.cpp: Update function call names. os.cpp/hpp: COM/Registry interface for querying Windows UCRT/SDK. Sources: [Windows CRT](https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features) [VS 2015 Breaking Changes](https://msdn.microsoft.com/en-us/library/bb531344.aspx)
2017-11-01 14:33:14 -05:00
2018-03-31 11:26:02 -04:00
WIN32: Linking with the CRT at runtime. (#570) Disclaimer: Forgive me if my format sucks, I've never submitted a PR before! Fixes: #517 I added a few things to allow zig to link with the CRT properly both statically and dynamically. In Visual Studio 2017, Microsoft changed how the c-runtime is factored again. With this change, they also added a COM interface to allow you to query the respective Visual Studio instance for two of them. This does that and also falls back on a registry query for 2015 support. If you're using a Visual Studio instance older than 2015, you'll have to use the existing options available with the zig compiler. Changes are listed below along with a general description of the changes. all_types.cpp: The separate variables for msvc/kern32 have been removed and all win32 libc directory paths have been combined into a ZigList since we're querying more than two directories and differentiating one from another doesn't matter to lld. analyze.cpp: The existing functions were extended to support querying libc libs & libc headers at runtime. codegen.cpp/hpp: Microsoft uses the new 'Universal C Runtime' name now. Doesn't matter from a functionality standpoint. I left the compiler switches as is to not introduce any breaking changes. link.cpp: We're linking 4 libs and generating another in order to support the UCRT. Dynamic: msvcrt/d, vcruntime/d, ucrt/d, legacy_stdio_definitions.lib Static: libcmt/d, libvcruntime/d libucrt/d, legacy_stdio_definitions.lib main.cpp: Update function call names. os.cpp/hpp: COM/Registry interface for querying Windows UCRT/SDK. Sources: [Windows CRT](https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features) [VS 2015 Breaking Changes](https://msdn.microsoft.com/en-us/library/bb531344.aspx)
2017-11-01 14:33:14 -05:00
WIN32: Linking with the CRT at runtime. (#570) Disclaimer: Forgive me if my format sucks, I've never submitted a PR before! Fixes: #517 I added a few things to allow zig to link with the CRT properly both statically and dynamically. In Visual Studio 2017, Microsoft changed how the c-runtime is factored again. With this change, they also added a COM interface to allow you to query the respective Visual Studio instance for two of them. This does that and also falls back on a registry query for 2015 support. If you're using a Visual Studio instance older than 2015, you'll have to use the existing options available with the zig compiler. Changes are listed below along with a general description of the changes. all_types.cpp: The separate variables for msvc/kern32 have been removed and all win32 libc directory paths have been combined into a ZigList since we're querying more than two directories and differentiating one from another doesn't matter to lld. analyze.cpp: The existing functions were extended to support querying libc libs & libc headers at runtime. codegen.cpp/hpp: Microsoft uses the new 'Universal C Runtime' name now. Doesn't matter from a functionality standpoint. I left the compiler switches as is to not introduce any breaking changes. link.cpp: We're linking 4 libs and generating another in order to support the UCRT. Dynamic: msvcrt/d, vcruntime/d, ucrt/d, legacy_stdio_definitions.lib Static: libcmt/d, libvcruntime/d libucrt/d, legacy_stdio_definitions.lib main.cpp: Update function call names. os.cpp/hpp: COM/Registry interface for querying Windows UCRT/SDK. Sources: [Windows CRT](https://docs.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features) [VS 2015 Breaking Changes](https://msdn.microsoft.com/en-us/library/bb531344.aspx)
2017-11-01 14:33:14 -05:00
2016-02-02 15:04:14 -07:00
2016-02-08 00:50:51 -07:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2016-02-07 18:32:19 -07:00
2017-04-10 20:02:39 -04:00
2016-02-07 18:32:19 -07:00
2016-02-07 18:32:19 -07:00
2017-04-10 20:02:39 -04:00
2016-02-07 18:32:19 -07:00
2016-02-07 18:32:19 -07:00
2016-02-07 18:32:19 -07:00
2017-04-13 03:07:58 -04:00
2016-04-06 11:38:12 -07:00
2017-04-10 20:02:39 -04:00
2016-04-06 11:38:12 -07:00
2017-04-10 20:02:39 -04:00
2016-04-06 11:38:12 -07:00
2016-04-06 11:38:12 -07:00
2016-04-06 11:38:12 -07:00
2017-04-10 20:02:39 -04:00
2016-04-06 11:38:12 -07:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2018-02-20 16:42:14 -05:00
2016-04-06 11:38:12 -07:00
2016-08-25 17:25:18 -07:00
2016-04-06 11:38:12 -07:00
2016-04-24 11:24:04 -07:00
2016-04-06 11:38:12 -07:00
2016-04-06 11:38:12 -07:00
2018-01-31 01:51:15 -05:00
2016-04-06 11:38:12 -07:00
2016-04-06 11:38:12 -07:00
2016-04-07 18:02:30 -07:00
2016-04-06 11:38:12 -07:00
2016-12-05 05:12:05 -05:00
2016-12-05 05:12:05 -05:00
2016-12-05 05:12:05 -05:00
2016-12-05 05:12:05 -05:00
2016-12-05 05:12:05 -05:00
2016-12-05 05:12:05 -05:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2018-01-31 01:51:15 -05:00
2016-12-26 03:02:20 -05:00
2018-02-20 16:42:14 -05:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2017-02-26 23:50:04 -05:00
2017-04-13 03:07:58 -04:00
2016-12-20 01:50:32 -05:00
2018-01-31 01:51:15 -05:00
2016-12-20 01:50:32 -05:00
2016-12-20 01:50:32 -05:00
2016-12-20 01:50:32 -05:00
2016-12-20 01:50:32 -05:00
2016-12-31 18:25:10 -05:00
2016-12-20 01:50:32 -05:00
2016-12-20 01:50:32 -05:00
2016-12-20 01:50:32 -05:00
2016-12-31 18:25:10 -05:00
2016-12-20 01:50:32 -05:00
2016-12-31 18:25:10 -05:00
2016-12-20 01:50:32 -05:00
2018-02-20 16:42:14 -05:00
2016-12-20 01:50:32 -05:00
2016-12-20 01:50:32 -05:00
2016-12-20 01:50:32 -05:00
2017-04-13 03:07:58 -04:00
2017-05-23 00:26:12 -04:00
2017-05-23 00:26:12 -04:00
2017-04-13 03:07:58 -04:00
2017-04-10 20:02:39 -04:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2018-01-31 01:51:15 -05:00
2018-01-31 01:51:15 -05:00
2018-02-20 16:42:14 -05:00
2017-04-10 20:02:39 -04:00
2017-05-16 10:19:16 -04:00
2017-03-10 02:29:01 -05:00
2017-04-13 03:07:58 -04:00
2018-01-31 01:51:15 -05:00
2018-02-20 16:42:14 -05:00
2018-01-31 01:51:15 -05:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2018-02-20 16:42:14 -05:00
2018-01-31 01:51:15 -05:00
2017-04-13 03:07:58 -04:00
2018-01-31 01:51:15 -05:00
2017-04-10 20:02:39 -04:00
2017-04-10 20:02:39 -04:00
2018-04-15 13:21:52 -04:00
2018-04-15 13:21:52 -04:00
2017-04-10 20:02:39 -04:00
2018-04-15 13:21:52 -04:00
2017-02-26 23:50:04 -05:00
2017-02-26 23:50:04 -05:00
2017-04-13 03:07:58 -04:00
2017-04-13 03:07:58 -04:00
2017-02-26 23:50:04 -05:00
2017-11-14 23:53:53 -05:00
2017-02-26 23:50:04 -05:00
2018-01-31 01:51:15 -05:00
2018-02-20 16:42:14 -05:00
2018-01-31 01:51:15 -05:00
2018-02-20 16:42:14 -05:00
2018-01-31 01:51:15 -05:00
2018-02-20 16:42:14 -05:00
2017-11-14 23:53:53 -05:00
2017-12-18 09:59:57 -05:00