Use MemCount instead of hard-coded value 7.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp | ||
---|---|---|
125 | This changes from 7 to 8 if I read the enum right. I guess since the last argument of GetMemoryProfile is size, and mem was already MemCount, this is fine. |
This changes from 7 to 8 if I read the enum right.
I guess since the last argument of GetMemoryProfile is size, and mem was already MemCount, this is fine.