[PATCH] Disable inlining between sanitized and non-sanitized functions

Alexey Samsonov samsonov at google.com
Tue Jun 25 05:22:06 PDT 2013


  I think that functions with __attribute__((always_inline)) should always be inlined - I think there are cases where the code will break if we don't do the inlining.


================
Comment at: lib/Transforms/IPO/Inliner.cpp:380
@@ +379,3 @@
+
+  if (CallerAttr.hasAttribute(AttributeSet::FunctionIndex,
+                              Attribute::SanitizeAddress) !=
----------------
Um, can you use a loop here?


http://llvm-reviews.chandlerc.com/D1035



More information about the llvm-commits mailing list