diff options
| author | Rui Ueyama <ruiu@google.com> | 2016-06-21 05:01:31 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2016-06-21 05:01:31 +0000 |
| commit | 3f5dd1458e4c775e3c50dfa95c0523852ca2fcc3 (patch) | |
| tree | f95f46eb02da0f19f72e15fa90e9ae8f21eeedb8 | |
| parent | 9cc0bca23c490561af9b14dbefff32e14d8ecda3 (diff) | |
| download | bcm5719-llvm-3f5dd1458e4c775e3c50dfa95c0523852ca2fcc3.tar.gz bcm5719-llvm-3f5dd1458e4c775e3c50dfa95c0523852ca2fcc3.zip | |
Unbreak buildbots.
llvm-svn: 273242
| -rw-r--r-- | lld/ELF/Target.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Target.cpp b/lld/ELF/Target.cpp index 2db522503c5..21c0440837a 100644 --- a/lld/ELF/Target.cpp +++ b/lld/ELF/Target.cpp @@ -679,7 +679,7 @@ void X86_64TargetInfo::relaxTlsIeToLe(uint8_t *Loc, uint32_t Type, uint64_t Val) const { uint8_t *Inst = Loc - 3; uint8_t Reg = Loc[-1] >> 3; - uint8_t RegSlot = Loc - 1; + uint8_t *RegSlot = Loc - 1; // Note that LEA with RSP or R12 is converted to ADD instead of LEA // because LEA with these registers needs 4 bytes to encode and thus |

