[PATCH] [UBSan] Adding support of MIPS32

Kostya Serebryany kcc at google.com
Thu Sep 4 11:20:06 PDT 2014


================
Comment at: lib/ubsan/ubsan_handlers.cc:273
@@ -272,2 +272,3 @@
   GET_REPORT_OPTIONS(false);
-  handleFloatCastOverflow(Data, From, Opts);
+  uptr Loc=GET_CALLER_PC();
+  handleFloatCastOverflow(Data, Loc, From, Opts);
----------------
please add spaces around '='

http://reviews.llvm.org/D4881






More information about the llvm-commits mailing list