Displaying 13 results from an estimated 13 matches for "ccadwallad".
Did you mean:
tcadwallad
2012 Jul 23
2
[LLVMdev] Setting up a cross-compiler for cortex-m3
On 23 July 2012 17:03, Chris Cadwallader <ccadwallader at arxan.com> wrote:
> On Darwin, if -march is armv7 clang's driver will assume you want thumb2 unless you also give it -mno-thumb but that is irrelevant with mcpu=cortex-m3.
I think that Thumb2 should be the default for v7 on any system, not
just Darwin. Maybe some ARM folk can commen...
2013 Jan 29
3
[LLVMdev] Dropped support for IR-level extended linking support (archives, etc.)
r172749 removed Linker/LinkArchives.cpp and Linker/LinkItems.cpp citing:
This code is dead, and the "right" way to get this support is to use the
platform-specific linker-integrated LTO mechanisms, or the forthcoming LLVM
linker.
Could someone please expand on what the "right way" is and these LTO mechanisms or where I can find further information? We used several
2013 Jan 29
0
[LLVMdev] Dropped support for IR-level extended linking support (archives, etc.)
...out of
archives, then you should use an LTO enabled linker (either the system
linker on OS X, or gold + the gold plugin on Linux). See also:
http://llvm.org/docs/LinkTimeOptimization.html
http://llvm.org/docs/GoldPlugin.html
- Daniel
On Tue, Jan 29, 2013 at 11:31 AM, Chris Cadwallader
<ccadwallader at arxan.com>wrote:
> r172749 removed Linker/LinkArchives.cpp and Linker/LinkItems.cpp citing:
>
> This code is dead, and the "right" way to get this support is to use the
> platform-specific linker-integrated LTO mechanisms, or the forthcoming LLVM
> linker.
&g...
2012 Jul 23
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
On Mon, Jul 23, 2012 at 8:14 PM, Renato Golin <rengolin at systemcall.org> wrote:
> On 23 July 2012 17:03, Chris Cadwallader <ccadwallader at arxan.com> wrote:
>> On Darwin, if -march is armv7 clang's driver will assume you want thumb2 unless you also give it -mno-thumb but that is irrelevant with mcpu=cortex-m3.
>
> I think that Thumb2 should be the default for v7 on any system, not
> just Darwin. Maybe some A...
2012 Jul 23
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
On Darwin, if -march is armv7 clang's driver will assume you want thumb2 unless you also give it -mno-thumb but that is irrelevant with mcpu=cortex-m3.
I agree its a mess.
-Chris
On Jul 22, 2012, at 4:37 PM, Renato Golin wrote:
> On 22 July 2012 20:42, Anton Korobeynikov <anton at korobeynikov.info> wrote:
>>> Any suggestions?
>> Try to specify CPU explicitly.
>
2013 Mar 08
0
[LLVMdev] Tool to convert to backend assembly instruction file
Teja,
Your mention of .s being bytecode confuses me, but if you're asking how to lower a bitcode (.bc) or IR file (.ll) to assembly (.s) than llc is the tool you are looking for.
llc -O2 path/to/bitcode/input.bc -o output.s
-Chris
On Mar 7, 2013, at 10:39 PM, teja tamboli wrote:
> Hello,
>
> I am looking for tool to convert file from either (.s) bytecode or (.bc) bitcode to
2013 Mar 08
2
[LLVMdev] Tool to convert to backend assembly instruction file
Hello,
I am looking for tool to convert file from either (.s) bytecode or (.bc)
bitcode to .asm file. Basically assembly instruction file for my x86
backend. I think so we can use llvm-objdump. However I am not able to
figure out its exact options. Could you please tell me how to do that?
--
Thanks,
Teja
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Jul 22
12
[LLVMdev] Setting up a cross-compiler for cortex-m3
On 22 July 2012 20:42, Anton Korobeynikov <anton at korobeynikov.info> wrote:
>> Any suggestions?
> Try to specify CPU explicitly.
He shouldn't have to, but that might help. Maybe setting -march? This
is a big mess...
I thought that v7 always assumed Thumb2 for the thumb flag, and v7M
should always assume Cortex-M3 CPU if none provided.
It's funny that James had a great
2012 Jul 24
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
On Jul 23, 2012, at 1:52 PM, salvatore benedetto <salvatore.benedetto at gmail.com> wrote:
> On Mon, Jul 23, 2012 at 8:14 PM, Renato Golin <rengolin at systemcall.org> wrote:
>> On 23 July 2012 17:03, Chris Cadwallader <ccadwallader at arxan.com> wrote:
>>> On Darwin, if -march is armv7 clang's driver will assume you want thumb2 unless you also give it -mno-thumb but that is irrelevant with mcpu=cortex-m3.
>>
>> I think that Thumb2 should be the default for v7 on any system, not
>> just Dar...
2014 Aug 01
2
[LLVMdev] LLVM Basic Program Compilation
I am just getting started with llvm.
Here's code I am trying to compile:
#include <stdio.h>#include "llvm/IR/LLVMContext.h"#include
"llvm/IR/Module.h"#include "llvm/IR/IRBuilder.h"
int main(){
llvm::LLVMContext& context = llvm::getGlobalContext();
llvm::Module* module = new llvm::Module("top", context);
llvm::IRBuilder<>
2014 Aug 02
2
[LLVMdev] LLVM Basic Program Compilation
...-emit-llvm
gives me errors
$clang++ try.cpp -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -S
-emit-llvm
$ lli try.s
gives me Program used external function '_ZN4llvm16getGlobalContextEv'
which could not be resolved!
Thank you
On Fri, Aug 1, 2014 at 7:25 PM, Chris Cadwallader <ccadwallader at arxan.com>
wrote:
> What version of LLVM are you using? llvm-gcc was deprecated a long time
> ago, and while it doesn’t directly address your question, I suggest trying
> with clang(++).
>
> - Chris
>
> On Aug 1, 2014, at 8:32 AM, Prakash Premkumar <prakash.prax at...
2013 Feb 04
0
[LLVMdev] ARM c++ exceptions handling not working with clang/llvm-3.2?
You may also need to use:
-mllvm -enable-correct-eh-support -mllvm -arm-enable-ehabi-descriptors
-Chris
On Feb 4, 2013, at 3:47 PM, Abdoulaye Walsimou Gaye wrote:
> On 02/04/2013 09:32 PM, Anton Korobeynikov wrote:
>>> am I wrong or the ARM c++ exceptions handling does not work?
>> Yes, it's still work-in-progress option disabled by default. You might
>> want to give
2013 Feb 15
0
[LLVMdev] Alternative to Linker::LinkInFile()
Looking at /tools/llvm-link/llvm-link.cpp may give you some ideas here. I havent looked at your specific use case, but llvm-link uses ParseIRFile to pull in a bitcode file and build a Module for it. You can then create a Composite using the Module * and call Linker::LinkModules(Composite.get(), NewModuleToLink.get()... to link a new Module to your Composite Module.
-Chris
On Feb 14, 2013, at