[X86] Add test showing binary differences with -x86-pad-for-align.
authorFlorian Hahn <flo@fhahn.com>
Thu, 17 Jun 2021 11:13:55 +0000 (12:13 +0100)
committerFlorian Hahn <flo@fhahn.com>
Thu, 17 Jun 2021 11:27:17 +0000 (12:27 +0100)
commit0bd5bbb31e0345aed8d029d70a4197aed53a3cd5
tree04a45b112a6055b3ad2a8d713bd2cb015e4418d1
parent6b6338195c1b1a32a62adb37204022c1760eb899
[X86] Add test showing binary differences with -x86-pad-for-align.

This patch adds a test case showing how a single extra .loc can cause
binary differences when using -x86-pad-for-align=true.

The issue has been discussed in D94542, PR42138, PR48742.
llvm/test/MC/X86/Inputs/pad-align-with-debug.s [new file with mode: 0644]
llvm/test/MC/X86/Inputs/pad-align-without-debug.s [new file with mode: 0644]
llvm/test/MC/X86/pad-for-align-debug.s [new file with mode: 0644]