Displaying 2 results from an estimated 2 matches for "llvmclang".
Did you mean:
llvm_clang
2012 Apr 01
0
[LLVMdev] How to Get Path Profile and Print it
Hello;
I was trying to use utils/profile.pl script to get path profile and print
it from a simple hello world program.
First I do the following -
Compile the hello.c into LLVM bitcode file using -
clang hello.c -S -emit-llvm -o hello.bc
But when I try to run the following script -
../llvmclang/llvm-3.0.src/utils/profile.pl -edge hello.bc
I get the following error -
llvm-prof: hello.bc: Invalid bitcode signature
Also in the profile.pl, an argument can be "function". But when I try to
run with the argument function, the output is -
opt: Unknown command line argument '-in...
2013 Oct 28
3
[LLVMdev] Preserving accurate stack traces with optimization?
Is there a known way to preserve a full and accurate stack trace while
utilizing most of LLVM's optimization abilities?
We are investigating using LLVM as a JIT for a language which requires
the ability to generate an accurate stack trace from any arbitrary
point(1) during the execution. I know that we can make this work by
doing inlining externally, manually recording virtual frames,