[llvm] [MC] Move MCTargetOptions ownership from MCContext to MCAsmInfo (PR #180449)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 8 20:23:36 PST 2026


MaskRay wrote:

> Looks like BOLT needs to be updated?

Most users ensure that the `MCTargetOption` object outlives the `MCAsmInfo` object, but some users like BOLT don't. 
I have to change this to a stacked patch series and #180464 will fix BOLT.

https://github.com/llvm/llvm-project/pull/180449


More information about the llvm-commits mailing list