ByteDance Terminal Technology
Jul 28, 2021 · Backend Development
Investigating a Clang -Oz Optimization Bug that Triggers Memory Bloat in a Video Component
The article describes how enabling the aggressive size‑optimisation flag -Oz in Clang caused a video component to create numerous GLFramebuffer and CVPixelBuffer objects, leading to OOM crashes, and explains the underlying ARC and Machine Outliner interactions that exposed a compiler bug which was later fixed in LLVM.
ArcLLVMclang
0 likes · 11 min read