-Os (and -O2 and even -O1) on llvm break/crash the soft debugger.
Work around this for now by manually enabling -Os optimizations from the llvm doc.