{"push_id":672387761,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"59698c0a432f2f86f1ba7856aa9f36d9f4db97a0","before":"f0b65ba8d9b36f41e6ea222fb43dbc2c0ef81c0e","commits":[{"sha":"59698c0a432f2f86f1ba7856aa9f36d9f4db97a0","author":{"email":"6b31706989f3cf9466bfddbf48eab0c43e646ba8@gmail.com","name":"Rafael Espindola"},"message":"Stop inventing symbol sizes.\n\nMachO and COFF quite reasonably only define the size for common symbols.\n\nWe used to try to figure out the \"size\" by computing the gap from one symbol to\nthe next.\n\nThis would not be correct in general, since a part of a section can belong to no\nvisible symbol (padding, private globals).\n\nIt was also really expensive, since we would walk every symbol to find the size\nof one.\n\nIf a caller really wants this, it can sort all the symbols once and get all the\ngaps (\"size\") in O(n log n) instead of O(n^2).\n\nOn MachO this also has the advantage of centralizing all the checks for an\ninvalid n_sect.","distinct":true,"url":"https://api.github.com/repos/llvm-project/llvm-project/commits/59698c0a432f2f86f1ba7856aa9f36d9f4db97a0"}]}