search for: my_llvm_bin_dir

Displaying 3 results from an estimated 3 matches for "my_llvm_bin_dir".

2012 Oct 16
0
[LLVMdev] R_ARM_ABS32 disassembly with integrated-as
On 16 October 2012 03:16, Greg Fitzgerald <garious at gmail.com> wrote: > Lastly, from MCELFStreamer, how do I determine if we generating an ARM or > Thumb ELF? That was the only part I didn't know how to get. Jim should know. > I can catch Thumb from the EmitThumbFunc, but that seems a > little odd. Ignore EmitThumbFunc, it has nothing to do with your change. > $
2012 Oct 16
2
[LLVMdev] R_ARM_ABS32 disassembly with integrated-as
...ple of how to reproduce the issue. It uses a C file that happens to has a bunch of switch statements which are encoded as jump tables, giving us data-in-code. Usage: To build object files with clang via the -integrated-as versus via GCC: $ export NDK_DIR=<my_ndk_dir> $ export LLVM_DIR=<my_llvm_bin_dir> $ make To test that the generated objects contain the same Mapping Symbols: $ make test If "make test" fails, a diff is printed containing what GCC generates versus LLVM. To bypass clang and gcc (say you don't want to install the NDK), you can build the same LLVM object file w...
2012 Oct 16
5
[LLVMdev] R_ARM_ABS32 disassembly with integrated-as
Getting closer... When emitting symbols, how do I set the symbol's value to the address of the current instruction? Do I need to emit a label in the current section and another that uses the former to point to the latter? If possible, a code sample would be very helpful. And probably questions for Tim, are these "section-relative" mapping symbols, as defined in 4.6.5.1 of the