Skip to content
Snippets Groups Projects
  1. Aug 17, 2016
    • Chris Bieneman's avatar
      [CMake] Workflow improvements to PGO generation · eb1960e7
      Chris Bieneman authored
      This patch adds a few new convenience options used by the PGO CMake cache to setup options on bootstrap stages. The new options are:
      
      PGO_INSTRUMENT_LTO - Builds the instrumented and final builds with LTO
      PGO_BUILD_CONFIGURATION - Accepts a CMake cache script that can be used for complex configuration of the stage2-instrumented and stage2 builds.
      
      The patch also includes a fix for bootstrap dependencies so that the instrumented LTO tools don't get used when building the final stage, and it adds distribution targets to the passthrough.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278862 91177308-0d34-0410-b5e6-96231b3b80d8
      eb1960e7
    • Adrian McCarthy's avatar
      Emit debug info for dynamic classes if they are imported from a DLL. · 7200cc30
      Adrian McCarthy authored
      With -debug-info-kind=limited, we omit debug info for dynamic classes that live in other TUs. This reduces duplicate type information. When statically linked, the type information comes together. But if your binary has a class derived from a base in a DLL, the base class info is not available to the debugger.
      
      The decision is made in shouldOmitDefinition (CGDebugInfo.cpp). Per a suggestion from rnk, I've tweaked the decision so that we do include definitions for classes marked as DLL imports. This should be a relatively small number of classes, so we don't pay a large price for duplication of the type info, yet it should cover most cases on Windows.
      
      Essentially this makes debug info for DLLs independent, but we still assume that all TUs within the same DLL will be consistently built with (or without) debug info and the debugger will be able to search across the debug info within that scope to resolve any declarations into definitions, etc.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278861 91177308-0d34-0410-b5e6-96231b3b80d8
      7200cc30
  2. Aug 16, 2016
  3. Aug 15, 2016
  4. Aug 13, 2016
  5. Aug 12, 2016
Loading