[PATCH] D152100: [libunwind] Removes CMake work-arounds.

Mark de Wever via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 08:44:28 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG17b0d90e20ee: [libunwind] Removes CMake work-arounds. (authored by Mordante).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152100/new/

https://reviews.llvm.org/D152100

Files:
  libunwind/src/CMakeLists.txt


Index: libunwind/src/CMakeLists.txt
===================================================================
--- libunwind/src/CMakeLists.txt
+++ libunwind/src/CMakeLists.txt
@@ -26,14 +26,6 @@
     UnwindRegistersSave.S
     )
 
-# See add_asm_sources() in compiler-rt for explanation of this workaround.
-# CMake doesn't work correctly with assembly on AIX. Workaround by compiling
-# as C files as well.
-if((APPLE AND CMAKE_VERSION VERSION_LESS 3.19) OR
-   (MINGW AND CMAKE_VERSION VERSION_LESS 3.17))
-  set_source_files_properties(${LIBUNWIND_ASM_SOURCES} PROPERTIES LANGUAGE C)
-endif()
-
 set(LIBUNWIND_HEADERS
     AddressSpace.hpp
     assembly.h


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152100.528463.patch
Type: text/x-patch
Size: 653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230605/767e6dc9/attachment.bin>


More information about the llvm-commits mailing list