Skip to content
  1. Jun 30, 2015
    • Rafael Espindola's avatar
      Don't return error_code from function that never fails. · 96d071cd
      Rafael Espindola authored
      llvm-svn: 241021
      96d071cd
    • Peter Collingbourne's avatar
      lto: Clean up C libLTO interfaces pertaining to linker flags. · 5d7dffb6
      Peter Collingbourne authored
      Specifically, remove the dependent library interface and replace the existing
      linker option interface with a new one that returns a single list of flags.
      
      Differential Revision: http://reviews.llvm.org/D10820
      
      llvm-svn: 241018
      5d7dffb6
    • Adrian Prantl's avatar
      Add a DIModule metadata node to the IR. · ab1243fe
      Adrian Prantl authored
      It is meant to be used to record modules @imported by the current
      compile unit, so a debugger an import the same modules to replicate this
      environment before dropping into the expression evaluator.
      
      DIModule is a sibling to DINamespace and behaves quite similarly.
      In addition to the name of the module it also records the module
      configuration details that are necessary to uniquely identify the module.
      This includes the configuration macros (e.g., -DNDEBUG), the include path
      where the module.map file is to be found, and the isysroot.
      
      The idea is that the backend will turn this into a DW_TAG_module.
      
      http://reviews.llvm.org/D9614
      rdar://problem/20965932
      
      llvm-svn: 241017
      ab1243fe
    • Duncan P. N. Exon Smith's avatar
      bcanalyzer: Rewrite all the METADATA_ codes · 706b80d8
      Duncan P. N. Exon Smith authored
      Add all the new `Metadata` codes since LLVM 3.6, and at the same time
      follow the precedent set in other blocks by removing the `METADATA_`
      prefix from the string output.
      
      llvm-svn: 241016
      706b80d8
    • Duncan P. N. Exon Smith's avatar
      bcanalyzer: Use a macro to decode bitcodes, NFC · cb8ee002
      Duncan P. N. Exon Smith authored
      I'm about to add a whack of missing names for metadata.  Add a macro to
      make this easier.
      
      llvm-svn: 241015
      cb8ee002
    • Ben Langmuir's avatar
      Reapply "Use gethostuuid() on Mac to identify hosts for LockFileManager" · 450461cb
      Ben Langmuir authored
      Reapplies r241005 after fixing the build on non-Mac platforms. Original
      commit message below.
      
      The hostname can be very unstable when there are many machines on the
      network competing for the same name. Using the hardware UUID makes it
      less likely to have collisions or to consider files written by the
      current host to be owned by a different one at a later time.
      
      rdar://problem/21512307
      
      llvm-svn: 241012
      450461cb
    • Peter Collingbourne's avatar
      Teach LTOModule to emit linker flags for dllexported symbols, plus interface cleanup. · aef3659e
      Peter Collingbourne authored
      This change unifies how LTOModule and the backend obtain linker flags
      for globals: via a new TargetLoweringObjectFile member function named
      emitLinkerFlagsForGlobal. A new function LTOModule::getLinkerOpts() returns
      the list of linker flags as a single concatenated string.
      
      This change affects the C libLTO API: the function lto_module_get_*deplibs now
      exposes an empty list, and lto_module_get_*linkeropts exposes a single element
      which combines the contents of all observed flags. libLTO should never have
      tried to parse the linker flags; it is the linker's job to do so. Because
      linkers will need to be able to parse flags in regular object files, it
      makes little sense for libLTO to have a redundant mechanism for doing so.
      
      The new API is compatible with the old one. It is valid for a user to specify
      multiple linker flags in a single pragma directive like this:
      
       #pragma comment(linker, "/defaultlib:foo /defaultlib:bar")
      
      The previous implementation would not have exposed
      either flag via lto_module_get_*deplibs (as the test in
      TargetLoweringObjectFileCOFF::getDepLibFromLinkerOpt was case sensitive)
      and would have exposed "/defaultlib:foo /defaultlib:bar" as a single flag via
      lto_module_get_*linkeropts. This may have been a bug in the implementation,
      but it does give us a chance to fix the interface.
      
      Differential Revision: http://reviews.llvm.org/D10548
      
      llvm-svn: 241010
      aef3659e
    • Sanjoy Das's avatar
      [FaultMaps][Docs] Document the ImplicitNullChecks pass. · 3c7828e3
      Sanjoy Das authored
      llvm-svn: 241009
      3c7828e3
  2. Jun 29, 2015
  3. Jun 28, 2015
  4. Jun 27, 2015
Loading