[PATCH] [DFSAN][MIPS][LLVM] Defining ShadowPtrMask variable for MIPS64

Peter Collingbourne peter at pcc.me.uk
Tue Dec 2 11:36:02 PST 2014


================
Comment at: lib/Transforms/Instrumentation/DataFlowSanitizer.cpp:438
@@ -430,1 +437,3 @@
+  else if (IsMIPS64)
+    ShadowPtrMask = ConstantInt::getSigned(IntptrTy, ~0xF000000000LL);
 
----------------
This should do something sensible if the target is unsupported, maybe call `report_fatal_error`?

http://reviews.llvm.org/D6459






More information about the llvm-commits mailing list