[PATCH] D143229: [FunctionImporter] Don't upgrade debug info for ThinLTO compiles

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 16:34:57 PST 2023


dblaikie added a comment.

In D143229#4101256 <https://reviews.llvm.org/D143229#4101256>, @mehdi_amini wrote:

> A flag seems a bit ad-hoc to me, can we detect from the bitcode itself if this is necessary?

Not really that I know of - if it's untrusted bitcode, everything's got to be validated/can't just check a version flag and assume it's good.

Having some generic flag for "this bitcode is trusted" might be a nice general purpose thing to have for users that can ensure that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143229/new/

https://reviews.llvm.org/D143229



More information about the llvm-commits mailing list