Simplify platform macro definitions in PAL (#73530)
authorAdeel Mujahid <3840695+am11@users.noreply.github.com>
Fri, 26 Aug 2022 14:07:03 +0000 (17:07 +0300)
committerGitHub <noreply@github.com>
Fri, 26 Aug 2022 14:07:03 +0000 (16:07 +0200)
commit536f34d9ab88e153aa11329e789afe6975fbe9a9
treea1c844f4a5a358fdc87f7284e0bae009f188d6b4
parent720151654e20c95c38c7132824189d73db03fb2d
Simplify platform macro definitions in PAL (#73530)

* Simplify platform macro definitions in PAL

* Address CR feedback

* Rename unwinder.cpp to baseunwinder.cpp

* Sync arm64 DAC_CS_NATIVE_DATA_SIZE
58 files changed:
src/coreclr/debug/daccess/riscv64/primitives.cpp [new file with mode: 0644]
src/coreclr/debug/ee/CMakeLists.txt
src/coreclr/debug/ee/amd64/walker.cpp [moved from src/coreclr/debug/ee/amd64/amd64walker.cpp with 99% similarity]
src/coreclr/debug/ee/arm/walker.cpp [moved from src/coreclr/debug/ee/arm/armwalker.cpp with 99% similarity]
src/coreclr/debug/ee/arm64/walker.cpp [moved from src/coreclr/debug/ee/arm64/arm64walker.cpp with 99% similarity]
src/coreclr/debug/ee/i386/walker.cpp [moved from src/coreclr/debug/ee/i386/x86walker.cpp with 99% similarity]
src/coreclr/debug/ee/loongarch64/walker.cpp [moved from src/coreclr/debug/ee/loongarch64/loongarch64walker.cpp with 99% similarity]
src/coreclr/debug/ee/ppc64le/walker.cpp [moved from src/coreclr/unwinder/s390x/unwinder_s390x.cpp with 70% similarity]
src/coreclr/debug/ee/riscv64/dbghelpers.S [new file with mode: 0644]
src/coreclr/debug/ee/riscv64/primitives.cpp [new file with mode: 0644]
src/coreclr/debug/ee/riscv64/walker.cpp [new file with mode: 0644]
src/coreclr/debug/ee/s390x/walker.cpp [new file with mode: 0644]
src/coreclr/debug/shared/riscv64/primitives.cpp [new file with mode: 0644]
src/coreclr/gc/env/gcenv.interlocked.h
src/coreclr/gc/env/gcenv.interlocked.inl
src/coreclr/inc/crosscomp.h
src/coreclr/jit/hashbv.h
src/coreclr/nativeaot/Runtime/arm64/AsmMacros.h
src/coreclr/nativeaot/Runtime/arm64/Interlocked.S
src/coreclr/nativeaot/Runtime/arm64/Interlocked.asm
src/coreclr/nativeaot/Runtime/arm64/WriteBarriers.S
src/coreclr/nativeaot/Runtime/arm64/WriteBarriers.asm
src/coreclr/nativeaot/Runtime/unix/unixasmmacrosarm64.inc
src/coreclr/pal/inc/pal.h
src/coreclr/pal/src/safecrt/cruntime.h
src/coreclr/unwinder/CMakeLists.txt
src/coreclr/unwinder/amd64/unwinder.cpp [moved from src/coreclr/unwinder/amd64/unwinder_amd64.cpp with 99% similarity]
src/coreclr/unwinder/amd64/unwinder.h [moved from src/coreclr/unwinder/amd64/unwinder_amd64.h with 98% similarity]
src/coreclr/unwinder/arm/unwinder.cpp [moved from src/coreclr/unwinder/arm/unwinder_arm.cpp with 99% similarity]
src/coreclr/unwinder/arm/unwinder.h [moved from src/coreclr/unwinder/arm/unwinder_arm.h with 98% similarity]
src/coreclr/unwinder/arm64/unwinder.cpp [moved from src/coreclr/unwinder/arm64/unwinder_arm64.cpp with 99% similarity]
src/coreclr/unwinder/arm64/unwinder.h [moved from src/coreclr/unwinder/arm64/unwinder_arm64.h with 98% similarity]
src/coreclr/unwinder/baseunwinder.cpp [moved from src/coreclr/unwinder/unwinder.cpp with 98% similarity]
src/coreclr/unwinder/baseunwinder.h [moved from src/coreclr/unwinder/unwinder.h with 100% similarity]
src/coreclr/unwinder/i386/unwinder.cpp [moved from src/coreclr/unwinder/i386/unwinder_i386.cpp with 99% similarity]
src/coreclr/unwinder/i386/unwinder.h [moved from src/coreclr/unwinder/i386/unwinder_i386.h with 97% similarity]
src/coreclr/unwinder/loongarch64/unwinder.cpp [moved from src/coreclr/unwinder/loongarch64/unwinder_loongarch64.cpp with 99% similarity]
src/coreclr/unwinder/loongarch64/unwinder.h [moved from src/coreclr/unwinder/loongarch64/unwinder_loongarch64.h with 98% similarity]
src/coreclr/unwinder/ppc64le/unwinder.cpp [new file with mode: 0644]
src/coreclr/unwinder/riscv64/unwinder.cpp [moved from src/coreclr/unwinder/ppc64le/unwinder_ppc64le.cpp with 75% similarity]
src/coreclr/unwinder/riscv64/unwinder.h [new file with mode: 0644]
src/coreclr/unwinder/s390x/unwinder.cpp [new file with mode: 0644]
src/coreclr/vm/CMakeLists.txt
src/coreclr/vm/arm/singlestepper.cpp [moved from src/coreclr/vm/arm/armsinglestepper.cpp with 100% similarity]
src/coreclr/vm/arm64/singlestepper.cpp [moved from src/coreclr/vm/arm64/arm64singlestepper.cpp with 100% similarity]
src/coreclr/vm/riscv64/asmconstants.h [new file with mode: 0644]
src/coreclr/vm/riscv64/asmhelpers.S [new file with mode: 0644]
src/coreclr/vm/riscv64/calldescrworkerloongarch64.S [new file with mode: 0644]
src/coreclr/vm/riscv64/cgencpu.h [new file with mode: 0644]
src/coreclr/vm/riscv64/crthelpers.S [new file with mode: 0644]
src/coreclr/vm/riscv64/excepcpu.h [new file with mode: 0644]
src/coreclr/vm/riscv64/gmscpu.h [new file with mode: 0644]
src/coreclr/vm/riscv64/pinvokestubs.S [new file with mode: 0644]
src/coreclr/vm/riscv64/profiler.cpp [new file with mode: 0644]
src/coreclr/vm/riscv64/stubs.cpp [new file with mode: 0644]
src/coreclr/vm/riscv64/thunktemplates.S [new file with mode: 0644]
src/coreclr/vm/riscv64/unixstubs.cpp [new file with mode: 0644]
src/coreclr/vm/riscv64/virtualcallstubcpu.hpp [new file with mode: 0644]