[cc1as] Close MCAsmParser before MCStreamer
authorFangrui Song <i@maskray.me>
Mon, 2 Nov 2020 23:56:56 +0000 (15:56 -0800)
committerFangrui Song <i@maskray.me>
Mon, 2 Nov 2020 23:56:57 +0000 (15:56 -0800)
commitbc847b31435e48ad0e54b322a716a4b9f07bc232
treeb5f50dc90e0cd056b5ad53f5e3b6f6660c3e507d
parentb68994bd2d358a4fa42a919d1083efc86b1dda6c
[cc1as] Close MCAsmParser before MCStreamer

This is a pre-existing problem exposed by D90511 (asan failurs with
clang/test/Driver/relax.s and a few other tests).
clang/tools/driver/cc1as_main.cpp