Previously llvm-mc would silently accept code from testcase, that contains invalid metadata symbol in section declaration.
Patch fixes the issue.
Accepted by Rafael in mail list.