search for: llvm_set_target_options

Displaying 4 results from an estimated 4 matches for "llvm_set_target_options".

2007 Aug 29
4
[LLVMdev] RFC: Patch for Exceptions
...============================================ --- gcc/config/darwin.h (revision 41554) +++ gcc/config/darwin.h (working copy) @@ -1712,11 +1712,13 @@ darwin_objc_llvm_implicit_target_global_var_section(decl) : 0) const char *darwin_objc_llvm_implicit_target_global_var_section(tree); -#define LLVM_SET_TARGET_OPTIONS(argvec) \ - if (flag_pic) \ - argvec.push_back ("--relocation-model=pic"); \ - else if (!MACHO_DYNAMIC_NO_PIC_P) \ - argvec.push_back ("--relocation-model=static") +#define LLVM_SET_TARGET_OPTIONS(arg...
2011 Jan 09
1
[LLVMdev] DragonEgg on FreeBSD
Hi, Duncan I only tested dragonegg on simple HelloWorld C/C++ programs. It can emit LLVM IR and generate a runable executable. On FreeBSD, Makefile need to be modified to include a path to gmp.h header file. I give a patch here, -------------------------------------------------------------------------------- --- Makefile.orig 2011-01-08 12:39:35.480184745 +0800 +++ Makefile
2009 Oct 05
0
[LLVMdev] getting gold plugin to work?
> If we can decide the way we want the options passed, I can take a stab > at it (or more likely Viktor will). The linker has a -plugin-opt option. You probably do something like -fplugin-opt=-mcpu= > I'd expect that gold will need an option that tells it that some > following option or options are to be passed to the plugin. The plugin > API will need to pass these flags
2009 Oct 05
4
[LLVMdev] getting gold plugin to work?
On Mon, Oct 5, 2009 at 8:04 PM, Rafael Espindola <espindola at google.com> wrote: >> I have no idea how to reduce this. >> >> Configure llvm-gcc for "arm-eabi" and use "--with-cpu=cortex-a8 >> --with-fpu=neon --with-abi=aapcs --with-float=hard". The triple in the >> bitcode will be "armv7-eabi" but the actual CPU subtarget won't