[PATCH] D43927: [Coroutines] Schedule coro-split before asan

Brian Gesiak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 1 16:58:18 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rC328951: [Coroutines] Schedule coro-split before asan (authored by modocache, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D43927?vs=136463&id=140603#toc

Repository:
  rC Clang

https://reviews.llvm.org/D43927

Files:
  lib/CodeGen/BackendUtil.cpp


Index: lib/CodeGen/BackendUtil.cpp
===================================================================
--- lib/CodeGen/BackendUtil.cpp
+++ lib/CodeGen/BackendUtil.cpp
@@ -541,6 +541,9 @@
                            addObjCARCOptPass);
   }
 
+  if (LangOpts.CoroutinesTS)
+    addCoroutinePassesToExtensionPoints(PMBuilder);
+
   if (LangOpts.Sanitize.has(SanitizerKind::LocalBounds)) {
     PMBuilder.addExtension(PassManagerBuilder::EP_ScalarOptimizerLate,
                            addBoundsCheckingPass);
@@ -599,9 +602,6 @@
                            addDataFlowSanitizerPass);
   }
 
-  if (LangOpts.CoroutinesTS)
-    addCoroutinePassesToExtensionPoints(PMBuilder);
-
   if (LangOpts.Sanitize.hasOneOf(SanitizerKind::Efficiency)) {
     PMBuilder.addExtension(PassManagerBuilder::EP_OptimizerLast,
                            addEfficiencySanitizerPass);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43927.140603.patch
Type: text/x-patch
Size: 865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180401/56cdd7ba/attachment.bin>


More information about the cfe-commits mailing list