{"push_id":1050290006,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"59cd7c9c0a0a5d1ddfd0bdcb54936d2832f1700d","before":"ab3afa0b852d54953165945cd0e608847203e9ca","commits":[{"sha":"2c0541777311e1842503ded6c5b4af3023a28b4d","author":{"email":"6b31706989f3cf9466bfddbf48eab0c43e646ba8@gmail.com","name":"Rafael Espindola"},"message":"Don't store an Elf_Sym for most symbols.\n\nOur symbol representation was redundant, and some times would get out of\nsync. It had an Elf_Sym, but some fields were copied to SymbolBody.\n\nDifferent parts of the code were checking the bits in SymbolBody and\nothers were checking Elf_Sym.\n\nThere are two general approaches to fix this:\n* Copy the required information and don't store and Elf_Sym.\n* Don't copy the information and always use the Elf_Smy.\n\nThe second way sounds tempting, but has a big problem: we would have to\ntemplate SymbolBody. I started doing it, but it requires templeting\n*everything* and creates a bit chicken and egg problem at the driver\nwhere we have to find ELFT before we can create an ArchiveFile for\nexample.\n\nAs much as possible I compared the test differences with what gold and\nbfd produce to make sure they are still valid. In most cases we are just\nadding hidden visibility to a local symbol, which is harmless.\n\nIn most tests this is a small speedup. The only slowdown was scylla\n(1.006X). The largest speedup was clang with no --build-id, -O3 or\n--gc-sections (i.e.: focus on the relocations): 1.019X.\n\ngit-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@265293 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-beanz/lld/commits/2c0541777311e1842503ded6c5b4af3023a28b4d"},{"sha":"59cd7c9c0a0a5d1ddfd0bdcb54936d2832f1700d","author":{"email":"6b31706989f3cf9466bfddbf48eab0c43e646ba8@gmail.com","name":"Rafael Espindola"},"message":"Try to fix the windows build.\n\nMSVC doesn't want StringRef in an union.\n\ngit-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@265297 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-beanz/lld/commits/59cd7c9c0a0a5d1ddfd0bdcb54936d2832f1700d"}]}