[cfe-users] Feature request: include timing information in the analysis tool for each check

2017-03-20 Thread Michael Eisel via cfe-users
We're trying to integrate the a deep clang static analysis into our continuous integration setup, but one concern is that it takes quite a while to scan files. It would be great to see which commands are taking the longest. For example, the alpha clone check takes an extremely long time. __

[cfe-users] Syncing up clang and clang-tools-extra with llvm for git

2018-03-08 Thread Michael Eisel via cfe-users
Hi, I'm hitting some segfault when I run dsymutil without any flags, but when I add "-update", it works. I'm curious about this flag, but i can't find any documentation. When it "updates", does that mean it needs an existing dSYM file to begin with? And what are the actual pros and cons of using t

[cfe-users] Crash reporting for inline functions

2018-03-30 Thread Michael Eisel via cfe-users
Hi, I've been playing around with a stack trace of inlined functions, e.g.: void __attribute__((always_inline)) f1() { f2(); } void __attribute__((noinline)) f2() { f3(); } void __attribute__((always_inline)) f3() { abort(); } When I use various crash reporters, like PLCrashReporte

[cfe-users] How can I hook malloc on iOS?

2018-09-04 Thread Michael Eisel via cfe-users
Hi, I'd like to hook malloc for an iOS app in order to use a custom allocator (jemalloc) that I have benchmarked and seen that it improves my app's performance. I know there must be a way to hook malloc, since the address sanitizer does it. Here are some possible routes: - Do whatever the address

[cfe-users] How does -forder-file-instrumentation work with respect to LTO?

2020-06-10 Thread Michael Eisel via cfe-users
Hi, I'm interested in using this flag, however I have a few questions. In Clang.cpp it states, "When ThinLTO is on, we need to pass these flags as linker flags and that will be handled outside of the compiler". When thin LTO is on, does this mean that it doesn't change the code but rather embeds i