labath added a comment. I've committed this as r331173. I've had to revert the lldb-test changes, as something similar has been implemented already, and I've merged your lldb-test test with an existing section types test. https://reviews.llvm.org/D44998