llvm-project/libunwind
James Nagurne c48974ffd7 [libunwind] Set LIBUNWIND_ASM_SOURCES to the ASM source language from C
I believe this is an oversight from the import of libunwind into its own
library from libc++abi.

In libc++abi, these files had the .s suffix, which indicates that the file
is a preprocessed assembly source file. This caused problems because the
files rely upon preprocessors to guard target-specific blocks.

To fix this, the CMakeLists file marked these files as C so that the
preprocessor would be run over them, but then the compiler would correctly
identify the files as assembly and compile them as such.

When imported to libunwind, these files were (correctly) renamed with .S
suffixes, which are non-preprocessed assembly. Thus, we no longer need the
C language property.

The benefit here is that the files can now benefit from CMAKE_ASM_FLAGS
rather than CMAKE_C_FLAGS.

Patch By: JamesNagurne

Differential Revision: https://reviews.llvm.org/D72952
2020-01-24 19:16:47 -08:00
..
cmake [unwind] Don't link libpthread and libdl on Fuchsia 2019-12-17 17:21:43 -08:00
docs Bump the trunk major version to 11 2020-01-15 13:38:01 +01:00
include [libunwind][RISCV] Add 64-bit RISC-V support 2019-12-16 16:36:56 +00:00
src [libunwind] Set LIBUNWIND_ASM_SOURCES to the ASM source language from C 2020-01-24 19:16:47 -08:00
test Reland "Enable `-funwind-tables` flag when building libunwind" 2019-12-11 04:27:04 +03:00
.arcconfig [libunwind] Set up .arcconfig to point to new Diffusion UNW repository 2018-01-10 22:20:03 +00:00
.clang-format
CMakeLists.txt Bump the trunk major version to 11 2020-01-15 13:38:01 +01:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00