search for: supportedarch

Displaying 5 results from an estimated 5 matches for "supportedarch".

Did you mean: supportedarches
2013 Aug 22
2
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
X32 support patch for compiler-rt. Applies against current trunk. --- projects/compiler-rt/make/platform/clang_linux.mk~ 2013-08-21 06:27:38.000000000 +0000 +++ projects/compiler-rt/make/platform/clang_linux.mk 2013-08-21 11:16:55.891621025 +0000 @@ -41,7 +41,18 @@ SupportedArches += x86_64 endif else - SupportedArches := x86_64 + # x86-64 arch has two ABIs 64 bit x86-64 and 32 bit x32 + ifeq ($(lastword $(subst -gnu, ,$(CompilerTargetTriple))),x32) + SupportedArches := x32 + ifeq ($(call TryCompile,$(CC),$(test_source),-m64),0) + SupportedArches += x86_6...
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (compiler-rt patch)
...t patch for compiler-rt. Applies against current trunk. > > --- projects/compiler-rt/make/platform/clang_linux.mk~ 2013-08-21 > 06:27:38.000000000 +0000 > +++ projects/compiler-rt/make/platform/clang_linux.mk 2013-08-21 > 11:16:55.891621025 +0000 > @@ -41,7 +41,18 @@ > SupportedArches += x86_64 > endif > else > - SupportedArches := x86_64 > + # x86-64 arch has two ABIs 64 bit x86-64 and 32 bit x32 > + ifeq ($(lastword $(subst -gnu, ,$(CompilerTargetTriple))),x32) > + SupportedArches := x32 > + ifeq ($(call TryCompile,$(CC),$(test_source),-m64)...
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt (Clang patch)
Clang patch for X32 support. Applies against current trunk. --- ./tools/clang/include/clang/Driver/Options.td.orig 2013-05-16 21:51:51.286129820 +0000 +++ ./tools/clang/include/clang/Driver/Options.td 2013-05-16 21:53:24.875004239 +0000 @@ -841,6 +841,7 @@ HelpText<"Enable hexagon-qdsp6 backward compatibility">; def m3dnowa : Flag<["-"], "m3dnowa">,
2013 Aug 22
7
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt
Hi, I'm working on bringing up complete coverage for a Gentoo x32 "desktop" system. I've been cooking up quite a few patches for various packages to push upstream, but right now, the biggest blocker is the lack of support for building with/codegen targeting x32 in llvm/clang. Since the x32 patches were sent last year, I see support code has landed in LLVM, and basic handling of
2014 Nov 03
8
[LLVMdev] [PATCH] Protection against stack-based memory corruption errors using SafeStack
...N_FUNCTIONS := \ absvdi2 \ absvsi2 \ diff --git a/make/platform/clang_linux.mk b/make/platform/clang_linux.mk index 2edbfff..3a8ab08 100644 --- a/make/platform/clang_linux.mk +++ b/make/platform/clang_linux.mk @@ -50,7 +50,7 @@ endif # Build runtime libraries for i386. ifeq ($(call contains,$(SupportedArches),i386),true) Configs += builtins-i386 profile-i386 san-i386 asan-i386 asan_cxx-i386 \ - ubsan-i386 ubsan_cxx-i386 + ubsan-i386 ubsan_cxx-i386 safestack-i386 Arch.builtins-i386 := i386 Arch.profile-i386 := i386 Arch.san-i386 := i386 @@ -58,13 +58,14 @@ Arch.asan-i386 := i386 Arch.asan_c...