search for: isosbinformatmacho

Displaying 7 results from an estimated 7 matches for "isosbinformatmacho".

2018 Jan 04
0
AllocateTarget for ELF objects on Darwin
...lang/blob/master/lib/Basic/Targets/X86.h#L757 *** This causes the above error. Can anyone explain this behavior? Is there anyone possibly relying on it? *** My impression is that one of these points should be changed. Either the branch to DarwinX86_64TargetInfo from: Triple.isOSDarwin() || Triple.isOSBinFormatMachO() to:   Triple.isOSDarwin() && Triple.isOSBinFormatMachO() Or DarwinX86_64TargetInfo itself should respect the object format: if (T.isOSBinFormatMachO())   resetDataLayout("e-m:o-i64:64-f80:128-n8:16:32:64-S128"); else   resetDataLayout("e-m:e-i64:64-f80:128-n8:16:32:64-S12...
2016 Jun 01
2
linkonce_odr & coff
I have @_rtti_a_a = linkonce_odr constant in two files that end up as coff object files. Shoudln't the linkonce_odr prevent duplicate symbol: __rtti_a_a \consoleapplication149.o and __rtti_a_a island.lib(island.o) from happening in LLD? If not what alternative can I use? THis is used for template like generics, so having duplicate functions and globals is going to happen a lot) (Side
2014 Jun 19
2
[LLVMdev] [PATCH] triples for baremetal
....cpp (working copy) @@ -675,7 +675,7 @@ default: // Assume "soft", but warn the user we are guessing. FloatABI = "soft"; - if (Triple.getOS() != llvm::Triple::UnknownOS || + if (Triple.getOS() != llvm::Triple::NoneOS || !Triple.isOSBinFormatMachO()) D.Diag(diag::warn_drv_assuming_mfloat_abi_is) << "soft"; break; @@ -756,7 +756,7 @@ // The backend is hardwired to assume AAPCS for M-class processors, ensure // the frontend matches that. if (Triple.getEnvironment() == llvm::Triple::EABI || -...
2017 Sep 11
2
Building LLVM's fuzzers
...is to call appendToUsed once per module, instead of once > per function. Oh right, updating lists in metadata is O(n), so doing it per function is quadratic. This slipped my mind - sorry! > Also, since this does not seem to be required for linux, I've put this > under if TargetTriple.isOSBinFormatMachO Submitted r312855, I'll see > if this breaks Mac (there seem to be no llvm tests for this, only > compiler-rt tests) but please also check if this looks ok. This looks fine, though I'd rather if we just did it on all platforms for consistency / clear semantic intent. Running appendTo...
2014 Jun 17
4
[LLVMdev] triples for baremetal
[+llvmdev, -llvm-dev] (Oopsies, llvmdev doesn't have a hyphen in it like all the others do) On 6/17/14, 10:45 AM, Jonathan Roelofs wrote: > [+llvm-dev, cfe-dev] > > Was "Re: [PATCH] ARM: allow inline atomics on Cortex M" > > On 6/17/14, 10:42 AM, Jonathan Roelofs wrote: >> >> >> On 6/17/14, 9:35 AM, Renato Golin wrote: >>> On 17 June 2014
2017 Aug 25
2
Building LLVM's fuzzers
On Thu, Aug 24, 2017 at 6:30 PM, Justin Bogner <mail at justinbogner.com> wrote: > Peter Collingbourne <peter at pcc.me.uk> writes: > > On Thu, Aug 24, 2017 at 3:38 PM, Kostya Serebryany <kcc at google.com> > wrote: > > > >> > >> > >> On Thu, Aug 24, 2017 at 3:35 PM, Peter Collingbourne <peter at pcc.me.uk> > >> wrote:
2017 Apr 04
3
RFC: Adding a string table to the bitcode format
On Tue, Apr 4, 2017 at 12:36 PM, Duncan P. N. Exon Smith < dexonsmith at apple.com> wrote: > > On 2017-Apr-04, at 12:12, Peter Collingbourne <peter at pcc.me.uk> wrote: > > On Mon, Apr 3, 2017 at 8:13 PM, Mehdi Amini <mehdi.amini at apple.com> wrote: > >> >> On Apr 3, 2017, at 7:08 PM, Peter Collingbourne <peter at pcc.me.uk> wrote: >>