[PATCH] D93954: ELF: Teach the linker about the 'B' augmentation string character.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 5 17:51:18 PST 2021


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lld/ELF/EhFrame.cpp:197
       skipAugP();
-    else if (c != 'S')
+    else if (c != 'B' && c != 'S')
       failOn(aug.data(), "unknown .eh_frame augmentation string: " + aug);
----------------
Because 'R' triggers an early return, so we don't error for "zRB"... --icf= triggers hasLSDA


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93954



More information about the llvm-commits mailing list