Skip to content
  1. Jun 16, 2017
  2. Jun 15, 2017
    • Jonathan Peyton's avatar
      Set affinity to none/false in child processes · 072ccb72
      Jonathan Peyton authored
      Reset affinity to none (false for proc-bind-var) so that threads in the child
      processes are not bound tightly, unless the user explicitly sets this in
      KMP_AFFINITY/OMP_PROC_BIND, in child processes. This can improve
      performance for scripting languages which fork for parallelism like Python's
      multiprocessing module.
      
      Differential Revision: https://reviews.llvm.org/D34154
      
      llvm-svn: 305513
      072ccb72
    • Rafael Espindola's avatar
      Move clearOutputSections before sortSections. · 383971d2
      Rafael Espindola authored
      This is probably the main patch left in unifying our intermediary
      representation.
      
      It moves the creation of default commands before section sorting. This
      has the nice effect that we now have one location where we decide
      where an orphan section should be placed.
      
      Before this patch sortSections would decide the relative location of
      orphan sections to other sections, but it was up to placeOrphanSection
      to decide on the exact location.
      
      We now only sort sections we created since the linker script is
      already in the correct order.
      
      llvm-svn: 305512
      383971d2
Loading