Re: [cfe-users] App security and the __FILE__ macro

2018-04-12 Thread Duncan P. N. Exon Smith via cfe-users
`strrchr(__FILE__, '/')+1` should get resolved at compile-time whenever you have optimizations on. > On Apr 12, 2018, at 15:38, Rick Mann via cfe-users > wrote: > > The higher-ups decided we needed penetration testing of our app. One of their > concerns was that if you run the macOS strings t

Re: [cfe-users] Crash reporting for inline functions

2018-03-30 Thread Duncan P. N. Exon Smith via cfe-users
+Adrian I suspect the crash reporters are giving you results based solely on the symbol table. The dSYM has extra information from the debug info so it can fill in the gaps. Perhaps the crash reporters aren't using the dSYMs, but Xcode is? Any ideas Adrian? > On Mar 30, 2018, at 16:28, Micha

Re: [cfe-users] question about building

2017-04-24 Thread Duncan P. N. Exon Smith via cfe-users
+cfe-dev; bcc:cfe-users (this is more of a development question than a user question, AFAICT) > On Apr 17, 2017, at 08:18, Michael Mitchell via cfe-users > wrote: > > I'm new to LLVM and also new to Cmake. I've checked out multiple LLVM > projects including clang (see below for list of proje

Re: [cfe-users] complie clang with clang

2017-03-21 Thread Duncan P. N. Exon Smith via cfe-users
> On 2017-Mar-21, at 06:51, Masaru Tsuchiyama via cfe-users > wrote: > > Hi. > > I'm trying to complie clang with clang. This should be fairly well documented. Try these: http://clang.llvm.org/get_started.html http://llvm.org/docs/CMake.html http://llvm.org/docs/AdvancedBuilds.html It

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

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

2017-02-13 Thread Duncan P. N. Exon Smith via cfe-users
+Eric Eric, do you know? > On 2017-Feb-12, at 13:43, Michal Jaszczyk via cfe-users > wrote: > > Hey, > > I'm trying to set up my Ubuntu Yakkety dev environment to use Clang and > LibC++. > > I'm trying to use Clang 4.0. It is not available in Yakkety by default, but > http://apt.llvm.org/