Displaying 1 result from an estimated 1 matches for "_zn9container6insertep5shape".
2020 May 28
2
Question: llvm-link type merge behaviour of c++ classes
...bug?
To explain it more in detail, a reduced example follows:
IR code before llvm-link:
```
...
%class.Bakery = type { i32, i32 }
%class.Container = type { i8 }
%class.Rectangle = type <{ %class.Shape, i8, [3 x i8] }>
%class.Shape = type { i32, i32 }
...
define linkonce_odr dso_local void @_ZN9Container6insertEP5Shape(%class.Container*, %class.Shape*) #1 comdat align 2 { ... }
...
```
IR code after llvm-link:
```
...
%class.Bakery = type { i32, i32 }
%class.Container = type { i8 }
%class.Rectangle = type <{ %class.Bakery, i8, [3 x i8] }>
...
define linkonce_odr dso_local void @_ZN9Container6insertEP5Shape...