Analysis taking around 6.5GB RAM for more than an hour and does not finish
| Bugzilla Link | 26780 |
| Version | 3.6 |
| OS | Linux |
| Attachments | htop screenshot showing RAM usage, Screenshot showing the file being analysed |
| Reporter | LLVM Bugzilla Contributor |
| CC | @devincoughlin |
Extended Description
Ran clang static analyser on qemu git source code. While analysing "aarch64-softmmu/target-arm/helper.c" file the analyser was using around 6.5GB RAM (on a machine with 8GB RAM) and was running for more than an hour. As the analyser did not finish for long I had to kill it.
I too think so based on the description in that bug.
I suspect this is the same as https://llvm.org/bugs/show_bug.cgi?id=16833, which Alexei Sidorin fixed in r248318. (The fix should be present in clang-3.8+)
static inline void get_phys_addr_pmsav7_default(CPUARMState *env, ARMMMUIdx mmu_idx, int32_t address, int *prot) { ... case 0xF0000000 ... 0xFFFFFFFF: ... break; }
assigned to @tkremenek