Avoid wrapping constant allocations in packed structs when not necessary
This way LLVM will set the string merging flag if the alloc is a nul terminated string, reducing binary sizes.
This commit is contained in:
parent
f7b4354283
commit
a5fa12b6b9
8 changed files with 26 additions and 25 deletions
|
@ -15,7 +15,7 @@
|
|||
|
||||
// Make sure that vtables don't have the unnamed_addr attribute when debuginfo is enabled.
|
||||
// This helps debuggers more reliably map from dyn pointer to concrete type.
|
||||
// CHECK: @vtable.2 = private constant <{
|
||||
// CHECK: @vtable.2 = private constant [
|
||||
// CHECK: @vtable.3 = private constant <{
|
||||
// CHECK: @vtable.4 = private constant <{
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue