Skip to content

Commit

Permalink
Delete duplicate unwind info files (#73129)
Browse files Browse the repository at this point in the history
* Delete duplicate unwind info files

* Add after prefix

* Add RISC-V machine value in remote unwind
  • Loading branch information
am11 authored Aug 1, 2022
1 parent e6d5bba commit d2264b2
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 1,368 deletions.
4 changes: 2 additions & 2 deletions src/mono/mono/mini/dwarfwriter.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#include <mono/metadata/abi-details.h>

#ifndef HOST_WIN32
#include <mono/utils/freebsd-elf32.h>
#include <mono/utils/freebsd-elf64.h>
#include <external/libunwind/include/remote/freebsd-elf32.h>
#include <external/libunwind/include/remote/freebsd-elf64.h>
#endif

#include <mono/utils/freebsd-dwarf.h>
Expand Down
9 changes: 6 additions & 3 deletions src/mono/mono/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ set(utils_common_sources
mono-property-hash.c
mono-value-hash.h
mono-value-hash.c
freebsd-elf_common.h
freebsd-elf32.h
freebsd-elf64.h
freebsd-dwarf.h
dtrace.h
mono-error.c
Expand Down Expand Up @@ -227,6 +224,12 @@ endif()

addprefix(utils_sources ../utils/ "${utils_platform_sources};${utils_arch_sources};${utils_common_sources}")

set(utils_sources
${utils_sources}
${CLR_SRC_NATIVE_DIR}/external/libunwind/include/remote/freebsd-elf_common.h
${CLR_SRC_NATIVE_DIR}/external/libunwind/include/remote/freebsd-elf32.h
${CLR_SRC_NATIVE_DIR}/external/libunwind/include/remote/freebsd-elf64.h)

if(ENABLE_DTRACE)
find_program(DTRACE dtrace)
if(TARGET_OSX)
Expand Down
245 changes: 0 additions & 245 deletions src/mono/mono/utils/freebsd-elf32.h

This file was deleted.

Loading

0 comments on commit d2264b2

Please sign in to comment.