[all-commits] [llvm/llvm-project] ba4bd3: [CMake] respect LLVMConfig.cmake's LLVM_DEFINITION...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed May 21 22:57:54 PDT 2025
Branch: refs/heads/users/MaskRay/spr/riscv-remove-unneeded-relocations-when-mixing-relaxnorelax-code
Home: https://github.com/llvm/llvm-project
Commit: ba4bd3f46e97b5637b16a0fa74b064fb3e6db8ff
https://github.com/llvm/llvm-project/commit/ba4bd3f46e97b5637b16a0fa74b064fb3e6db8ff
Author: jeremyd2019 <github at jdrake.com>
Date: 2025-05-22 (Thu, 22 May 2025)
Changed paths:
M bolt/CMakeLists.txt
M clang/CMakeLists.txt
M flang/CMakeLists.txt
M lld/CMakeLists.txt
M lldb/cmake/modules/LLDBStandalone.cmake
M mlir/CMakeLists.txt
M polly/CMakeLists.txt
Log Message:
-----------
[CMake] respect LLVMConfig.cmake's LLVM_DEFINITIONS in standalone builds (#138587)
In #138329, _GNU_SOURCE was added for Cygwin, but when building Clang
standalone against an installed LLVM this definition was not picked up,
resulting in undefined strnlen. Follow the documentation in
https://llvm.org/docs/CMake.html#embedding-llvm-in-your-project and add
the LLVM_DEFINITIONS in standalone projects' cmakes.
Commit: 7857543a6350f49f12d17af0bcf2c0f42db0311e
https://github.com/llvm/llvm-project/commit/7857543a6350f49f12d17af0bcf2c0f42db0311e
Author: jeremyd2019 <github at jdrake.com>
Date: 2025-05-22 (Thu, 22 May 2025)
Changed paths:
M llvm/lib/Support/raw_socket_stream.cpp
Log Message:
-----------
[LLVM][Cygwin] add workaround for blocking connect/accept in AF_UNIX sockets (#140353)
On Cygwin, UNIX sockets involve a handshake between connect and accept
to enable SO_PEERCRED/getpeereid handling. This necessitates accept
being called before connect can return, but at least the tests in
llvm/unittests/Support/raw_socket_stream_test do both on the same thread
(first connect and then accept), resulting in a deadlock. Add a call to
both places sockets are created that turns off the handshake (and
SO_PEERCRED/getpeereid support).
References:
* https://github.com/cygwin/cygwin/blob/cec8a6680ea1fe38f38001b06c34ae355a785209/winsup/cygwin/fhandler/socket_local.cc#L1462-L1471
* https://inbox.sourceware.org/cygwin/Z_UERXFI1g-1v3p2@calimero.vinschen.de/T/#u
Commit: 6f6dc1f239433393c0b09430193beb85d03464c8
https://github.com/llvm/llvm-project/commit/6f6dc1f239433393c0b09430193beb85d03464c8
Author: Fangrui Song <i at maskray.me>
Date: 2025-05-21 (Wed, 21 May 2025)
Changed paths:
M llvm/include/llvm/MC/MCAsmBackend.h
M llvm/lib/MC/MCAsmBackend.cpp
M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp
Log Message:
-----------
[MC] Restore MCAsmBackend::shouldForceRelocation to false
Revert the Target.getSpecifier implementation
(38c3ad36be1facbe6db2dede7e93c0f12fb4e1dc) and update SystemZAsmBackend
instead.
Many targets with %lo/%hi style specifiers (SPARC, MIPS, PowerPC,
RISC-V) do not force relocations for these specifiers.
Additionally, with the introduction of the addReloc hook,
shouldForceRelocation is not that necessary and should probably be
phased out.
Commit: 8ffeeb9fe61d61ea06066aab6405803fd3b7c918
https://github.com/llvm/llvm-project/commit/8ffeeb9fe61d61ea06066aab6405803fd3b7c918
Author: Fangrui Song <i at maskray.me>
Date: 2025-05-21 (Wed, 21 May 2025)
Changed paths:
M bolt/CMakeLists.txt
M clang/CMakeLists.txt
M flang/CMakeLists.txt
M lld/CMakeLists.txt
M lldb/cmake/modules/LLDBStandalone.cmake
M llvm/include/llvm/MC/MCAsmBackend.h
M llvm/lib/MC/MCAsmBackend.cpp
M llvm/lib/Support/raw_socket_stream.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h
M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp
M mlir/CMakeLists.txt
M polly/CMakeLists.txt
Log Message:
-----------
simplify after 6f6dc1f239433393c0b09430193beb85d03464c8
Created using spr 1.3.5-bogner
Compare: https://github.com/llvm/llvm-project/compare/31951fe2bdde...8ffeeb9fe61d
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list