This is an archive of the discontinued LLVM Phabricator instance.

[fuzzer] Fix reload.test on Linux/aarch64
ClosedPublic

Authored by zatrazz on Apr 24 2019, 7:06 AM.

Details

Reviewers
kcc
vitalybuka
Summary

The compiler generates a 'brk' instruction for builtin_trap on
aarch64 and Linux kernel issues a SIGTRAP, different from x86
where compiler emits an ud2 for
builtin_trap and Linux issue
a SIGILL.

A straightforward is to use abort instead.

Diff Detail

Event Timeline

zatrazz created this revision.Apr 24 2019, 7:06 AM
This revision is now accepted and ready to land.Apr 24 2019, 11:01 AM
zatrazz closed this revision.Apr 24 2019, 12:01 PM