An infinite loop without any effects is illegal C++ and can be optimized
away by the compiler.
Details
Details
- Reviewers
tejohnson vitalybuka - Commits
- rGd49aaaf44f50: [memprof] Fix UB.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This was modeled on AsanDie from compiler-rt/lib/asan/asan_rtl.cpp. Do you want to go ahead and fix them both?
Comment Actions
Done and changed memprof code to not use any system includes. We try to avoid those in ASAN RT.