commit | 7388e2ed6965bd34e71109daafe3692b1f79d789 | [log] [tgz] |
---|---|---|
author | Yaxun (Sam) Liu <yaxun.liu@amd.com> | Thu Nov 02 08:59:54 2023 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Nov 02 06:05:50 2023 -0700 |
tree | a15873f6ca42d35003ed9dd3a4e0ef31b3f7a1f8 | |
parent | 439368871a73e7e3650d4d23bcd707666e111601 [diff] |
[ELF] Define NOMINMAX to fix zlib.h caused build failure on Windows (#70368) On Windows when zlib is enabled, zlib header introduced some Windows headers which defines max as a macro. Since OutputSections.cpp uses std::max with template argument, this causes compilation error. Define macro NOMINMAX to avoid this. GitOrigin-RevId: 3594769f202ee47c18718215a6f210ad757c9822
This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.
lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.
In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.
It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz
The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f
.