OSDN Git Service

[NFC] Make magic number for DJB hash function customizable.
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 24 Jan 2018 16:53:14 +0000 (16:53 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 24 Jan 2018 16:53:14 +0000 (16:53 +0000)
commitffaa48bd2f356e08538ccc6e46043b96cf5c55f8
tree7b7ef733a798bc3b895c299fc8f8e3709f4fddc9
parentef0ae3d57baa8ea1322e8232d2f46df369b8beee
[NFC] Make magic number for DJB hash function customizable.

This allows us to specify the magic number for the DJB hash function.
This feature is needed by dsymutil to emit Apple types accelerator
table.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323341 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/BinaryFormat/Dwarf.h
lib/BinaryFormat/Dwarf.cpp