Skip to content
  • Rui Ueyama's avatar
    COFF: Set non-1 alignment to common chunks. · 9cf1abb8
    Rui Ueyama authored
    I don't know what the right thing to do here, but at least 1 does
    not seem like a correct value. If we do not align common chunks at
    all, a small program which calls puts() from global dtors crashes
    mysteriously in a kernel32's function.
    
    I believe the crash was caused by symbols overlapping each other,
    and my guess is that alignment has something to do with that, but
    I am not 100% sure. Needs investigating.
    
    llvm-svn: 239280
    9cf1abb8
Loading