You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have four bitcode files: a.bc, b.bc, c.bc, d.bc.
All of them had defined three structures which are listed below.
%struct.atomic_t = type { i32 }
%struct.kuid_t = type { i32 }
%struct.inode = type { i16, i16, %struct.kuid_t, /*...*/ }
Then, using llvm-link to link them
llvm-link a.bc b.bc c.bc d.bc -S -o out.ll
%struct.inode = type { i16, i16, %struct.atomic_t, /*...*/ }
%struct.kuid_t (and other structures which is defined as type { i32 }) was replaced by %struct.atomic_t in %struct.inode (or other some structures)
The incident may be caused by LTO.
I wonder how to prevent this from happening.
Thanks for your help.
The text was updated successfully, but these errors were encountered:
Hi, I meet a unexpected link behavior.
I have four bitcode files: a.bc, b.bc, c.bc, d.bc.
All of them had defined three structures which are listed below.
Then, using llvm-link to link them
%struct.kuid_t
(and other structures which is defined astype { i32 }
) was replaced by%struct.atomic_t
in%struct.inode
(or other some structures)The incident may be caused by LTO.
I wonder how to prevent this from happening.
Thanks for your help.
The text was updated successfully, but these errors were encountered: