mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 21:45:16 +00:00
Add some explanatory text to the associated symbol support.
llvm-svn: 335207
This commit is contained in:
parent
8aea145f98
commit
f49a369583
@ -352,7 +352,8 @@ MCSection *TargetLoweringObjectFileELF::getExplicitSectionGlobal(
|
||||
/*EntrySize=*/0, Group, UniqueID, AssociatedSymbol);
|
||||
// Make sure that we did not get some other section with incompatible sh_link.
|
||||
// This should not be possible due to UniqueID code above.
|
||||
assert(Section->getAssociatedSymbol() == AssociatedSymbol);
|
||||
assert(Section->getAssociatedSymbol() == AssociatedSymbol &&
|
||||
"Associated symbol mismatch between sections");
|
||||
return Section;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user