mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
Revert r226242 - Revert Revert Don't create new comdats in CodeGen
This breaks AddressSanitizer (ninja check-asan) on Windows git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -33,13 +33,13 @@
|
||||
; CHECK: @available_externally.var = available_externally constant i32 0{{$}}
|
||||
|
||||
@linkonce.var = linkonce constant i32 0
|
||||
; CHECK: @linkonce.var = linkonce constant i32 0, comdat{{$}}
|
||||
; CHECK: @linkonce.var = linkonce constant i32 0{{$}}
|
||||
|
||||
@weak.var = weak constant i32 0
|
||||
; CHECK: @weak.var = weak constant i32 0, comdat{{$}}
|
||||
; CHECK: @weak.var = weak constant i32 0{{$}}
|
||||
|
||||
@linkonce_odr.var = linkonce_odr constant i32 0
|
||||
; CHECK: @linkonce_odr.var = linkonce_odr constant i32 0, comdat{{$}}
|
||||
; CHECK: @linkonce_odr.var = linkonce_odr constant i32 0{{$}}
|
||||
|
||||
@linkonce_odr_auto_hide.var = linkonce_odr_auto_hide constant i32 0
|
||||
; CHECK: @linkonce_odr_auto_hide.var = constant i32 0{{$}}
|
||||
@@ -90,19 +90,19 @@ define available_externally void @available_externally()
|
||||
}
|
||||
|
||||
define linkonce void @linkonce()
|
||||
; CHECK: define linkonce void @linkonce() comdat {
|
||||
; CHECK: define linkonce void @linkonce() {
|
||||
{
|
||||
ret void
|
||||
}
|
||||
|
||||
define weak void @weak()
|
||||
; CHECK: define weak void @weak() comdat {
|
||||
; CHECK: define weak void @weak() {
|
||||
{
|
||||
ret void
|
||||
}
|
||||
|
||||
define linkonce_odr void @linkonce_odr()
|
||||
; CHECK: define linkonce_odr void @linkonce_odr() comdat {
|
||||
; CHECK: define linkonce_odr void @linkonce_odr() {
|
||||
{
|
||||
ret void
|
||||
}
|
||||
|
Reference in New Issue
Block a user