[ELF][test] Test identical CIE content with different personality
authorFangrui Song <i@maskray.me>
Sun, 31 Jul 2022 20:43:07 +0000 (13:43 -0700)
committerFangrui Song <i@maskray.me>
Sun, 31 Jul 2022 20:43:07 +0000 (13:43 -0700)
commita9c5d09c5e8d8ccbd90229cc64193c78cf558143
tree6658afc9aba269974faf908e9dada4b31b3c934f
parent17df74214c97bab8546d24c84a6aa7054b1449e1
[ELF][test] Test identical CIE content with different personality

If we change
CieRecord *&rec = cieMap[{cie.data(), personality}];
to
CieRecord *&rec = cieMap[{cie.data(), nullptr}];

The new test can catch the failure.
lld/test/ELF/eh-frame-multilpe-cie.s