Displaying 3 results from an estimated 3 matches for "hello_stuff".
2013 Mar 11
0
[LLVMdev] symbol address: llvm-objdump vs. objdump
...code:
---
#include <stdio.h>
int machin = 42;
int
main ()
{
printf("Hello : %d\n", machin);
return 0;
}
----
compile command:
clang hello1.c -o hello1
And the address of the symbol of the global variable "machin":
[ Fri Mar 08 - 22:58:36 ][ wwolff at hostname ]
~/hello_stuff
$ objdump hello1 -t -g | grep machin
0000000000601020 g O .data 0000000000000004 machin
[ Fri Mar 08 - 22:58:40 ][ wwolff at hostname ]
~/hello_stuff
$ llvm-objdump hello1 -t -g | grep machin
00c02030 g .data 00000004 machin
It's normal??
I see the same difference with...
2014 Mar 20
2
[LLVMdev] load bytecode from string for jiting problem
...b6 in llvm::parseBitcodeFile(llvm::MemoryBuffer*,
> llvm::LLVMContext&) ()
> #4 0x00000000004ec195 in jitter (skeletons=<optimized out>,
> params=0x7fffffffdf40, phi_state=0x11adbc0, lower=0, upper=250,
> inst_outer=8, inst_inner=<optimized out>)
> at /home/willy/hello_stuff/with_apollo/simple_loop/runtime.cpp:263
> #5 0x00000000004ec8fa in apollo_runtime_hook (info=<optimized out>,
> skeletons=0xc8b1f0, skeleton_size=<optimized out>, params=0x7fffffffdf40,
> phi_state_size=<optimized out>)
> at /home/willy/hello_stuff/with_apollo/sim...
2014 Mar 20
2
[LLVMdev] load bytecode from string for jiting problem
This segfault occuring only under valgrind,
in shell way, and in gdb way i have
Invalid bitcode signature
simple_scev_dynamic_array: /home/willy/apollo/llvm/include/llvm/Support/ErrorOr.h:258: storage_type *llvm::ErrorOr<llvm::Module *>::getStorage() [T = llvm::Module *]: Assertion `!HasError && "Cannot get value when an error exists!"' failed.
Command terminated by