clang-randstruct / llvm-project

Randomize the order of fields in a structure layout as a compile-time hardening feature
3 stars 1 forks source link

Randomize layout regression test addition #20

Closed tim-pugh closed 5 years ago

tim-pugh commented 5 years ago

When you enter into the build folder and run make clang-test you are executing the clang regression test suite.

This addition fixes the test suite failing with the addition of our attribute RandomizeLayout by modifying the file llvm-project/clang/test/Misc/pragma-attribute-supported-attributes-list.test and adding our attribute to the run of checked attributes.

You must add additions in alphabetical order, hence it showing up in the middle.