[libcxx-commits] [PATCH] D77679: [libunwind] Fix UB in EHHeaderParser::findFDE

Fangrui Song via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 7 15:49:33 PDT 2020


MaskRay added inline comments.


================
Comment at: libunwind/src/EHHeaderParser.hpp:112
 
+  if (hdrInfo.fde_count == 0) return false;
+
----------------
LLVM's code style uses

```
if (hdrInfo.fde_count == 0)
  return false;
```

though there is probably not meaningful to change it now..


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77679/new/

https://reviews.llvm.org/D77679





More information about the libcxx-commits mailing list