Displaying 5 results from an estimated 5 matches for "cgffunction".
2013 Feb 27
1
[LLVMdev] Compilation problem when addind a library
...ms/IPO directory.
But I want to keep them away in the lib/Transforms/Obfuscation directory.
This is my Makefile:
LEVEL = ../../..
LIBRARYNAME = LLVMobfuscation
LOADABLE_MODULE = 1
BUILD_ARCHIVE = 1
include $(LEVEL)/Makefile.common
My CMakeListes.txt
add_llvm_library(LLVMobfuscation
Cgf.cpp
CgfFunction.cpp
Flattening.cpp
)
add_dependencies(LLVMobfuscation intrinsics_gen)
and my LLVMBuild.txt
[component_0]
type = Library
name = Obfuscation
parent = Transforms
library_name = Obfuscation
I added my directory and pass in the Transforms Makefile,LLVMBuild and CMakeLists, in the Transforms/IPO...
2011 Jun 24
4
[LLVMdev] Missing symbols in pass stack trace
> That's a weird one. Does addr2line work?
> $ addr2line -e CGF.so <address>
cafxx at ubuntu:~/Projects/llvm2/Debug+Asserts/bin$ objdump -t
../lib/CGF.so | grep flatten
0000000000005622 l F .text 0000000000000aa6
_ZN12_GLOBAL__N_111CGFFunction7flattenEv
00000000000041d6 l F .text 000000000000049c
_ZN12_GLOBAL__N_111CGFCallSite7flattenEv
000000000001a600 l O .rodata 0000000000000026
_ZZN12_GLOBAL__N_111CGFCallSite7flattenEvE19__PRETTY_FUNCTION__
0000000000019920 l O .rodata 0000000000000026...
2011 Jun 24
0
[LLVMdev] Missing symbols in pass stack trace
On Jun 24, 2011, at 11:03 AM, Carlo Alberto Ferraris wrote:
>
>> Are you loading the shared library directly from the build directory, or are you installing it first?
> I'm invoking it directly, I guess: ./opt -load=CGF.so -cgf -debug test.S
> should I install it? (I have no idea about how to do it, though...)
>
>> If you run "file CGF.so" on the file
2011 Jun 24
0
[LLVMdev] Missing symbols in pass stack trace
...rote:
>
>> That's a weird one. Does addr2line work?
>> $ addr2line -e CGF.so <address>
> cafxx at ubuntu:~/Projects/llvm2/Debug+Asserts/bin$ objdump -t ../lib/CGF.so | grep flatten
> 0000000000005622 l F .text 0000000000000aa6 _ZN12_GLOBAL__N_111CGFFunction7flattenEv
> 00000000000041d6 l F .text 000000000000049c _ZN12_GLOBAL__N_111CGFCallSite7flattenEv
> 000000000001a600 l O .rodata 0000000000000026 _ZZN12_GLOBAL__N_111CGFCallSite7flattenEvE19__PRETTY_FUNCTION__
> 0000000000019920 l O .rodata 000...
2011 Jun 24
2
[LLVMdev] Missing symbols in pass stack trace
> Are you loading the shared library directly from the build directory,
> or are you installing it first?
I'm invoking it directly, I guess:./opt -load=CGF.so -cgf -debug test.S
should I install it? (I have no idea about how to do it, though...)
> If you run "file CGF.so" on the file you actually load, does it say it
> is stripped or non-stripped?
cafxx at