[PATCH] D52201: [ThinLTO] Write TYPE_IDs for types used in functions imported by aliases

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 17 18:00:32 PDT 2018


vitalybuka created this revision.
Herald added subscribers: dexonsmith, steven_wu, hiraditya, eraman, inglorion, mehdi_amini.

Fix missing type id when we have:
Unit A with type, functions F with type check, and alias A to the function.
Unit B with only call to alias A.
Then the code does not call for getReferencedTypeIds aliasee.


Repository:
  rL LLVM

https://reviews.llvm.org/D52201

Files:
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/test/ThinLTO/X86/Inputs/cfi-distributed.ll
  llvm/test/ThinLTO/X86/cfi-distributed.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52201.165855.patch
Type: text/x-patch
Size: 3241 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180918/5ed60b02/attachment.bin>


More information about the llvm-commits mailing list