[PATCH] D20547: [safestack] Sink unsafe address computation to each use.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 14 15:00:05 PDT 2016


pcc added inline comments.

================
Comment at: lib/CodeGen/SafeStack.cpp:613
@@ +612,3 @@
+    // Replace uses of the alloca with the new location.
+    // Insert address calculation close to each use to work around PR28054.
+    std::string Name = std::string(AI->getName()) + ".unsafe";
----------------
Is that the right PR number?


Repository:
  rL LLVM

http://reviews.llvm.org/D20547





More information about the llvm-commits mailing list