commit | d91d043465fd5334c1cdb5d4d2701b49fffd7a00 | [log] [tgz] |
---|---|---|
author | Petr Hosek <phosek@chromium.org> | Sat Aug 17 00:07:26 2019 +0000 |
committer | Petr Hosek <phosek@chromium.org> | Sat Aug 17 00:07:26 2019 +0000 |
tree | 6ea831889ced41c60359ed1e06da13feb3c412a2 | |
parent | 42e3d15bdf8242a0cef1f8bde8484c74ebc7cd59 [diff] |
[llvm-readobj] Unwrap the value first to avoid the error This addresses the issue introduced in r369169, we need to unwrap the value first before we can check whether it's empty. This also swaps the two branches to put the common path first which should be NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369177 91177308-0d34-0410-b5e6-96231b3b80d8