[PATCH] Add test suite for the Control Flow Integrity feature.

Peter Collingbourne peter at pcc.me.uk
Wed Feb 18 15:50:55 PST 2015


> can we make these tests run with -O0 and -O2 w/o adding extra RUN lines?


Probably not, but I don't think it would make a difference at the moment. As far as I know, the optimization level chosen at compile time does not affect the level used at link time.

> what will happen with the tests if LTO is not supported?


There is logic in lit.cfg to disable the tests if LTO is not supported.


http://reviews.llvm.org/D7738

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list