Displaying 3 results from an estimated 3 matches for "setobjectformat".
Did you mean:
getobjectformat
2018 Jan 04
0
AllocateTarget for ELF objects on Darwin
...inking the Clang libs into my executable for JIT compilation. In
order to enable debugging the jited code on OSX via the GDB JIT
Interface, I switched the format of the in-memory object files to ELF. I
thought this target triple should do:
Triple TT;
TT.setTriple(sys::getProcessTriple());
TT.setObjectFormat(llvm::Triple::ELF);
But Clang exits with an error:
backend data layout 'e-m:e-i64:64-f80:128-n8:16:32:64-S128'
does not match expectedtarget description
'e-m:o-i64:64-f80:128-n8:16:32:64-S128'
1 error generated.
The target selection is a little tricky here and I wonder if...
2014 Jun 19
2
[LLVMdev] [PATCH] triples for baremetal
...ABIName = "aapcs";
@@ -5128,7 +5128,7 @@
if (Str == "x86_64h")
T.setArchName(Str);
else if (Str == "armv6m" || Str == "armv7m" || Str == "armv7em") {
- T.setOS(llvm::Triple::UnknownOS);
+ T.setOS(llvm::Triple::NoneOS);
T.setObjectFormat(llvm::Triple::MachO);
}
}
Index: test/Driver/macho-embedded.c
===================================================================
--- test/Driver/macho-embedded.c (revision 211122)
+++ test/Driver/macho-embedded.c (working copy)
@@ -11,5 +11,5 @@
// CHECK-AAPCS: "-target-abi" "a...
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