parent
46cbc4367b
commit
c0f0c511db
|
@ -796,7 +796,7 @@ static const GlobalValue *getComdatGVForCOFF(const GlobalValue *GV) {
|
||||||
|
|
||||||
if (ComdatGV->getComdat() != C)
|
if (ComdatGV->getComdat() != C)
|
||||||
report_fatal_error("Associative COMDAT symbol '" + ComdatGVName +
|
report_fatal_error("Associative COMDAT symbol '" + ComdatGVName +
|
||||||
"' is not a key for it's COMDAT.");
|
"' is not a key for its COMDAT.");
|
||||||
|
|
||||||
return ComdatGV;
|
return ComdatGV;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,4 +6,4 @@ target triple = "i686-pc-windows-msvc"
|
||||||
$foo = comdat largest
|
$foo = comdat largest
|
||||||
@foo = global i32 0
|
@foo = global i32 0
|
||||||
@bar = global i32 0, comdat $foo
|
@bar = global i32 0, comdat $foo
|
||||||
; CHECK: Associative COMDAT symbol 'foo' is not a key for it's COMDAT.
|
; CHECK: Associative COMDAT symbol 'foo' is not a key for its COMDAT.
|
||||||
|
|
Loading…
Reference in New Issue