Normalize working directory when running llvm-mc in test
authorserge-sans-paille <sguelton@redhat.com>
Mon, 13 Apr 2020 11:44:15 +0000 (13:44 +0200)
committerserge-sans-paille <sguelton@redhat.com>
Mon, 13 Apr 2020 11:44:15 +0000 (13:44 +0200)
commitbab5908df544680ada0a3cf431f55aeccfbdb321
tree5811e77f41f1fadf15eab05c3a3a27d9d1c2a435
parent0fffece463b51dc759c6f240c9225801bf76bca5
Normalize working directory when running llvm-mc in test

Otherwise, depending on the lit location used to run the test, llvm-mc adds an
include_directories entry in the dwarf output, which breaks tests in some setup.

Differential Revision: https://reviews.llvm.org/D77876
llvm/test/MC/MachO/gen-dwarf.s