This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/81081] [ASAN] ASAN is not properly calling libbacktrace to symbolize program written on assembler


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81081

--- Comment #3 from Denis Khalikov <d.khalikov at partner dot samsung.com> ---
This fix
111   AddressInfo *info = cdata->get_new_frame(addr);
112   if (filename)
113     info->file = internal_strdup(filename);
114   info->line = lineno;
115   if (function) {
116     info->function = DemangleAlloc(function, /*always_alloc*/ true);
117     cdata->frames_symbolized++;
118   }
119   return 0;
120 }

solve my problem.

As far as I understood this chages should be made in llvm asan/

Should I send the patch Phabricator for review.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]