[LLD][PowerPC][test] Fix out-of-memory issue running ppc64-pcrel-long-branch-error.s
authorVictor Huang <wei.huang@ibm.com>
Thu, 3 Sep 2020 14:08:24 +0000 (09:08 -0500)
committerVictor Huang <wei.huang@ibm.com>
Thu, 3 Sep 2020 14:08:24 +0000 (09:08 -0500)
commitdb367ff2d8d038f61d09521d5e6a293528df3d54
tree052ef26d8f5079123a5aaac67a7d08bb047613d4
parentdfb7b3fe02c0e84968960f4aef88361e6de10874
[LLD][PowerPC][test] Fix out-of-memory issue running ppc64-pcrel-long-branch-error.s

Following 97febb1, fix the out-of-memory error associated with buffering the output
in-memory by writing to an allocated file with the minimum offset and running it
on ppc system-linux only.

Peer reviewed by: nemanjai
lld/test/ELF/ppc64-pcrel-long-branch-error.s