This is an archive of the discontinued LLVM Phabricator instance.

[AutoUpgrade] Fix a compatibility issue with module flag
ClosedPublic

Authored by steven_wu on Sep 15 2017, 11:03 AM.

Details

Summary

After r304661, module flag to record objective-c image info section is
encoded without whitespaces after comma. The new name is equivalent to
the old one, except that when LTO a module built by old compiler and a
module built by a new compiler, it will fail with conflicting values.

Fix the issue by removing whitespaces in bitcode upgrade path.

rdar://problem/34416934

Diff Detail

Repository
rL LLVM

Event Timeline

steven_wu created this revision.Sep 15 2017, 11:03 AM
compnerd accepted this revision.Sep 15 2017, 1:57 PM

Oh, sorry about that! Thanks for fixing this.

This revision is now accepted and ready to land.Sep 15 2017, 1:57 PM
This revision was automatically updated to reflect the committed changes.
hans added a subscriber: tstellar.Sep 15 2017, 2:33 PM

Was I CC'd on this because it's a candidate for 5.0.1? If so, +Tom who manages that release.

Thanks Hans. Yes, it will be good to pick this up for 5.0.1