mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Initialize the address-significance table fragment's layout order.
This fragment is created after layout, which is where the order normally gets set. Should fix a test failure under msan. llvm-svn: 340516
This commit is contained in:
parent
5645346620
commit
5542bfdc97
@ -1036,6 +1036,7 @@ uint64_t WinCOFFObjectWriter::writeObject(MCAssembler &Asm,
|
||||
// Create the contents of the .llvm_addrsig section.
|
||||
if (EmitAddrsigSection) {
|
||||
auto Frag = new MCDataFragment(AddrsigSection);
|
||||
Frag->setLayoutOrder(0);
|
||||
raw_svector_ostream OS(Frag->getContents());
|
||||
for (const MCSymbol *S : AddrsigSyms) {
|
||||
if (!S->isTemporary()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user