[PATCH] [ASan] Fix asan_preload_test-2 on PowerPC64 Linux

Jay Foad jay.foad at gmail.com
Wed Dec 24 03:13:06 PST 2014


In http://reviews.llvm.org/D6776#104155, @eugenis wrote:

> Would it work if you change memset to something that is unlikely to be optimized, like write(1, p, 2) ?


Yes, that works for me. But it'll write some nasty characters to stdout if the test fails.


http://reviews.llvm.org/D6776

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






More information about the llvm-commits mailing list