[PATCH] D13107: Support for function summary index bitcode sections and files. Includes bitcode reader/writer support for these sections, and support for creation of combined index files.

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 13:16:11 PDT 2015


tejohnson updated this revision to Diff 35761.
tejohnson added a comment.

- Fix function summary generation for anonymous function.

Don't try to generate a summary for them as they don't have a
VST entry/value Id, and ensure that any aliases get function summaries instead.

      

This was caught by running llvm test suite with thinlto enabled by
default in llvm-as.

      

Add anonymous function to thinlto test case.


http://reviews.llvm.org/D13107

Files:
  include/llvm/Bitcode/BitcodeWriterPass.h
  include/llvm/Bitcode/BitstreamWriter.h
  include/llvm/Bitcode/LLVMBitCodes.h
  include/llvm/Bitcode/ReaderWriter.h
  include/llvm/IR/FunctionInfo.h
  include/llvm/Object/Binary.h
  include/llvm/Object/FunctionIndexObjectFile.h
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/Bitcode/Writer/BitcodeWriterPass.cpp
  lib/IR/CMakeLists.txt
  lib/IR/FunctionInfo.cpp
  lib/Object/CMakeLists.txt
  lib/Object/FunctionIndexObjectFile.cpp
  test/Bitcode/thinlto-function-summary.ll
  test/tools/gold/X86/Inputs/thinlto.ll
  test/tools/gold/X86/thinlto.ll
  tools/gold/gold-plugin.cpp
  tools/llvm-as/llvm-as.cpp
  tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13107.35761.patch
Type: text/x-patch
Size: 81638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150925/a37569e7/attachment.bin>


More information about the llvm-commits mailing list