| commit | e4b90d82a0ed8cad2949d83839fcf023ab08ed97 | [log] [tgz] |
|---|---|---|
| author | Jessica Paquette <jpaquette@apple.com> | Tue Apr 10 15:53:28 2018 +0000 |
| committer | Jessica Paquette <jpaquette@apple.com> | Tue Apr 10 15:53:28 2018 +0000 |
| tree | 1999d89cddcdd68b4d90e64908c1a7510ab1fcd0 | |
| parent | b1c3b22b4cc0a6ecf24d9a22b506ebfec2e3e8ee [diff] |
Add missing nullptr check to AArch64MachObjectWriter::recordRelocation There was missing nullptr check before a call to getSection() in recordRelocation. This would result in a segfault in code like the attached test. This adds the missing check and a test which makes sure we get the expected error output. llvm-svn: 329716