commit | 11898c48c5c7a29671642b92265d13a940daa11d | [log] [tgz] |
---|---|---|
author | Galina Kistanova <gkistanova@gmail.com> | Thu Jun 08 23:35:52 2017 +0000 |
committer | Galina Kistanova <gkistanova@gmail.com> | Thu Jun 08 23:35:52 2017 +0000 |
tree | bd32806057635c4ef0e0d5eb19bf8207993eba0e | |
parent | eca66d0b34e00173c623507859bf7a957137011f [diff] |
Fixed warning: dereferencing type-punned pointer will break strict-aliasing rules. No need in reinterpret_cast<StringTableOffset &> here, as struct coff_symbol Name is a unin with the member StringTableOffset Offset. This union member could be accessed directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305029 91177308-0d34-0410-b5e6-96231b3b80d8