[cfe-users] Getting variable names in LLVM IR

2017-02-14 Thread Subhendu Malakar via cfe-users
Hi, I'm a newbie in LLVM environment. I'm trying to generate the LLVM IR of a c file using clang. The command line argument I'm passing is as : "clang -O0 -S -emit-llvm test.c -c -o test.ll" It is generating the LLVM IR properly but I'm not getting the variable names. e.g, for the c file :

Re: [cfe-users] .deb package for LibC++

2017-02-14 Thread Michal Jaszczyk via cfe-users
Eric, I'd be happy to do this work. However, I have no experience with developing LLVM / Clang / LibC++, so I'll need some mentoring. I do have some experience on creating Debian packages though, from a few years back. Let me know how we should proceed with this. For start, where shall I start lo

Re: [cfe-users] .deb package for LibC++

2017-02-14 Thread Eric Fiselier via cfe-users
I don't know about any .deb packages for libc++, but I sure would appreciate somebody working on it :-) /Eric On Mon, Feb 13, 2017 at 10:25 AM, Duncan P. N. Exon Smith < dexonsm...@apple.com> wrote: > +Eric > > Eric, do you know? > > On 2017-Feb-12, at 13:43, Michal Jaszczyk via cfe-users < > cf

Re: [cfe-users] Getting variable names in LLVM IR

2017-02-14 Thread Duncan P. N. Exon Smith via cfe-users
> On 2017-Feb-13, at 23:10, Subhendu Malakar via cfe-users > wrote: > > Hi, > I'm a newbie in LLVM environment. > > I'm trying to generate the LLVM IR of a c file using clang. The command line > argument I'm passing is as : > "clang -O0 -S -emit-llvm test.c -c -o test.ll" If you add "-###" t