[PATCH] [LLVM] ASan Linux MIPS32 support
Kostya Serebryany
kcc at google.com
Mon Jun 3 06:24:17 PDT 2013
================
Comment at: lib/Transforms/Instrumentation/AddressSanitizer.cpp:1277
@@ -1271,1 +1276,3 @@
kAsanStackPartialRedzoneMagic);
+ if (ASan.TD->isLittleEndian()) {
+ Poison = support::endian::byte_swap<uint32_t, support::little>(Poison);
----------------
this code does not use { and } code if/else statements like this. I.e.
if (...)
code
else
code
http://llvm-reviews.chandlerc.com/D909
More information about the llvm-commits
mailing list