aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-01-27 22:29:24 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-01-27 22:29:24 +0000
commit72bb40229ec455d6c39f0c1482ca6621e41a380a (patch)
tree0a6c7384580253fe8fb69f303d5063f416baf03e /lib/CodeGen/MachineInstr.cpp
parent5f7c41c9d091ad3ac9d0f5ebcf1ef9acd98e4e64 (diff)
Treat [1 x i8] zeroinitializer as a C string, placing such stuff into
mergeable string section. I don't see any bad impact of such decision (rather then placing it into mergeable const section, as it was before), but at least Darwin linker won't complain anymore. The problem in LLVM is that we don't have special type for string constants (like gcc does). Even more, we have two separate types: ConstatArray for non-null strings and ConstantAggregateZero for null stuff.... It's a bit weird :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63142 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions