[PATCH] Make Bitrig/ARM use Itanium-ABI

Renato Golin renato.golin at linaro.org
Thu Feb 19 10:41:46 PST 2015


Hi Patrick,

Do you have any more Bitrig patches? I think they're all very related
and could be bundled in one patch.

Also, it's better if you attach your patches, rather than leave them
in the body (it's easier to download and apply). And if you have
multiple patches, also please send them in sequence from the same git
branch, so that it's easier to apply.

Finally, if you could use Phabricator
(http://reviews.llvm.org/differential/), it'd be easier to review,
download, apply and discuss the patches.

cheers,
--renato

On 19 February 2015 at 13:19, Patrick Wildt <mail at patrick-wildt.de> wrote:
> Hi,
>
> Equally to NetBSD, Bitrig/ARM uses the Itanium-ABI.
>
> Best regards,
> Patrick
>
> diff --git a/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp b/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
> index 66a1618..caa8736 100644
> --- a/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
> +++ b/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
> @@ -59,6 +59,7 @@ ARMELFMCAsmInfo::ARMELFMCAsmInfo(StringRef TT) {
>
>    // Exceptions handling
>    switch (TheTriple.getOS()) {
> +  case Triple::Bitrig:
>    case Triple::NetBSD:
>      ExceptionsType = ExceptionHandling::DwarfCFI;
>      break;
> diff --git a/test/CodeGen/ARM/dwarf-eh.ll b/test/CodeGen/ARM/dwarf-eh.ll
> index 0b8a072..4bbfe8b 100644
> --- a/test/CodeGen/ARM/dwarf-eh.ll
> +++ b/test/CodeGen/ARM/dwarf-eh.ll
> @@ -2,6 +2,10 @@
>  ; RUN: FileCheck %s
>  ; RUN: llc -mtriple=arm-netbsd-eabi -o - -filetype=asm %s \
>  ; RUN: -relocation-model=pic | FileCheck -check-prefix=CHECK-PIC %s
> +; RUN: llc -mtriple=armv7-bitrig-gnueabihf -o - -filetype=asm %s | \
> +; RUN: FileCheck %s
> +; RUN: llc -mtriple=armv7-bitrig-gnueabihf -o - -filetype=asm %s \
> +; RUN: -relocation-model=pic | FileCheck -check-prefix=CHECK-PIC %s
>
>  ; ModuleID = 'test.cc'
>  target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32-S64"
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list