MaskRay added a comment.

In D100251#2684074 <https://reviews.llvm.org/D100251#2684074>, @nickdesaulniers 
wrote:

>> -fno-exceptions -fno-asynchronous-unwind-tables -g produces .debug_frame
>> while
>> -fno-exceptions -fno-asynchronous-unwind-tables -g -fsanitize=address 
>> produces .eh_frame.
>
> Does this patch change that behavior?

Yes. I consider `-fno-exceptions -fno-asynchronous-unwind-tables -g 
-fsanitize=address` producing `.eh_frame` is a bug. This patch will fix it.

`-fsanitize=address` can be replaced with many other instrumentations 
(-fsanitize=memory, -fprofile-arcs, -fsanitize-coverage=trace-pc-guard, ...)
This patch fixes the various sanitizers.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100251

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

Reply via email to