Page MenuHomePhabricator

[Clang][CodeGen][RISCV] Add hard float ABI tests with empty struct
ClosedPublic

Authored by luismarques on Nov 11 2020, 8:22 AM.

Details

Summary

This patch adds tests that showcase a behavior that is currently buggy.
Fix in a follow-up patch.

Diff Detail

Unit TestsFailed

TimeTest
430 mslinux > HWAddressSanitizer-x86_64.TestCases::sizes.cpp
Script: -- : 'RUN: at line 3'; /mnt/disks/ssd0/agent/llvm-project/build/./bin/clang --driver-mode=g++ -m64 -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mcmodel=large -mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm -hwasan-instrument-landing-pads=0 -mllvm -hwasan-instrument-personality-functions /mnt/disks/ssd0/agent/llvm-project/compiler-rt/test/hwasan/TestCases/sizes.cpp -nostdlib++ -lstdc++ -o /mnt/disks/ssd0/agent/llvm-project/build/projects/compiler-rt/test/hwasan/X86_64/TestCases/Output/sizes.cpp.tmp

Event Timeline

luismarques created this revision.Nov 11 2020, 8:22 AM
luismarques requested review of this revision.Nov 11 2020, 8:22 AM
lenary accepted this revision.Nov 17 2020, 7:37 AM
This revision is now accepted and ready to land.Nov 17 2020, 7:37 AM
rjmccall accepted this revision.Nov 17 2020, 8:34 PM

We don't usually add known-broken tests like this before a fix, as opposed to just landing them as part of the fix, but if you have a good reason to do so it's okay.

luismarques closed this revision.Dec 8 2020, 3:27 AM