search for: _ticket

Displaying 1 result from an estimated 1 matches for "_ticket".

Did you mean: ticket
2012 Apr 09
1
[LLVMdev] llc -march=cpp fails when using some STL stuff?
Hi, I'm really a novice in experimenting with LLVM, so I might be doing something plain wrong here, but I can't understand why this snippet // File ticket.cpp struct ticket { int field1; char field2[10]; } _ticket; goes fine through the sequence 1) clang++ -O0 -S -emit-llvm ticket.cpp (which generates ticket.s) 2) llc -march=cpp ticket.s So that I end up with a ticket.s.cpp that I can inspect to learn more about how to define structures in LLVM IR, while the following: //File ticket_stl.cpp #include &lt...