diff options
| author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2018-09-26 10:14:10 +0000 |
|---|---|---|
| committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2018-09-26 10:14:10 +0000 |
| commit | 4e8337e001ac2e0cf96f4cacdbdf4df227d7b27e (patch) | |
| tree | ef397b59aabfc128cc8362d4304ae284499c9702 /llvm/lib/BinaryFormat/Magic.cpp | |
| parent | 9123b7ebea4be5d04eae63209f601683595bed87 (diff) | |
| download | bcm5719-llvm-4e8337e001ac2e0cf96f4cacdbdf4df227d7b27e.tar.gz bcm5719-llvm-4e8337e001ac2e0cf96f4cacdbdf4df227d7b27e.zip | |
[CMake] Avoid REVERSE on unset variable
If required_libs happens to remain unset, CMake would fail with:
list sub-command REVERSE requires list to be present.
Fix by ensuring we do not attempt to reverse an unset variable.
Reported by Tu Vuong.
Differential Revision: https://reviews.llvm.org/D51799
llvm-svn: 343088
Diffstat (limited to 'llvm/lib/BinaryFormat/Magic.cpp')
0 files changed, 0 insertions, 0 deletions

