melver added a comment.

In D136078#3969061 <https://reviews.llvm.org/D136078#3969061>, @MaskRay wrote:

> ` SanitizerBinaryMetadata::createZeroSizedObjectInSection` creates 
> `__dummy_*`, but why is it needed? (There is no comment.)

"   // Create a 0-sized object in a section, so that the section is not 
discarded

  // if all inputs have been discarded."

We need the __begin and __end markers even if there ends up being no binary 
metadata.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136078

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to