Build LLVM / Clang on MacOS Problem Built-in Clang / LLVM shipped by Xcode does not support Leak Santizer (-fsantize=leak) feature. For example, this code has memory leak: // File: main.c #include <stdlib.h>