Displaying 3 results from an estimated 3 matches for "5c5d888f".
2009 Sep 16
0
[LLVMdev] llc and debug information
On Wed, Sep 16, 2009 at 1:34 PM, Nick Jalbert <jalbert at eecs.berkeley.edu> wrote:
> Hi all,
> I'm having an issue with debug information and llc. A test program:
> #include <iostream>
> using namespace std;
> void foo() {
> cout << "My return address is " << __builtin_return_address(0) <<
> endl << flush;
> }
2009 Sep 16
2
[LLVMdev] llc and debug information
...; along the way:
> >> llvm-g++ -g -c -emit-llvm test.cpp
> >> llc test.o
>
> try -O0 in llc command line.
> -
> Devang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090916/5c5d888f/attachment.html>
2009 Sep 16
3
[LLVMdev] llc and debug information
Hi all,
I'm having an issue with debug information and llc. A test program:
#include <iostream>
using namespace std;
void foo() {
cout << "My return address is " << __builtin_return_address(0) <<
endl << flush;
}
int main(int argc, char *argv[]) {
foo();
return 0;
}
When I compile my test program to LLVM bytecode, and then use