[MC][test] Fix non-portable GNU diff option
authorHubert Tong <hubert.reinterpretcast@gmail.com>
Thu, 16 Jan 2020 16:28:37 +0000 (11:28 -0500)
committerHubert Tong <hubert.reinterpretcast@gmail.com>
Thu, 16 Jan 2020 16:29:24 +0000 (11:29 -0500)
commit1794158f90f904ad2d07c1fcae5c3114a4f23d68
treec4689e1797628ee38edf978253feb3ed2dbee9d9
parent81eaa3ddd060ab8486ed3fa349d23dbe8f00d8c5
[MC][test] Fix non-portable GNU diff option

Summary: This patch replaces the non-portable GNU diff option `--strip-trailing-cr` with the POSIX `-b` option in two test files.

Reviewers: daltenty, jasonliu

Reviewed By: daltenty

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72745
llvm/test/MC/ARM/preserve-comments-arm.s
llvm/test/MC/AsmParser/preserve-comments.s