commit | e9f782a21be31123357649938c03750c09293278 | [log] [tgz] |
---|---|---|
author | Zachary Turner <zturner@google.com> | Mon Apr 16 20:42:06 2018 +0000 |
committer | Zachary Turner <zturner@google.com> | Mon Apr 16 20:42:06 2018 +0000 |
tree | 17da70a941fe720d708797f99ed4ec56dbdaebea | |
parent | 9d2fcc2bf4a301d05d9b440a805847645637ab28 [diff] |
[PDB] Correctly use the target machine when writing DBI stream. Using Config->is64() will treat ARM64 as Amd64, which is incorrect. Furthermore, there are more esoteric architectures that could theoretically be encountered. Just set it directly to the machine type, which we already know anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330157 91177308-0d34-0410-b5e6-96231b3b80d8