tag:blogger.com,1999:blog-7523589.post3316135276115742062..comments2024-02-20T19:17:55.835+01:00Comments on TSDgeos' blog: ASAN and gcc: How to get line numbers in the stacktraceAlbert Astals Cidhttp://www.blogger.com/profile/12001470108926138921noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7523589.post-2866441279976346212016-12-02T16:42:52.261+01:002016-12-02T16:42:52.261+01:00Amazing! Thank you very much.Amazing! Thank you very much.Iulianhttps://www.blogger.com/profile/05491977292515506130noreply@blogger.comtag:blogger.com,1999:blog-7523589.post-29206398727335556882014-11-10T17:29:09.381+01:002014-11-10T17:29:09.381+01:00Thank you! This was really helpful, I was about to...Thank you! This was really helpful, I was about to move to Clang :DAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7523589.post-77972288068047228082014-07-09T20:20:37.714+02:002014-07-09T20:20:37.714+02:00yeeha!!!yeeha!!!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7523589.post-46873352373285703112014-03-20T16:47:58.558+01:002014-03-20T16:47:58.558+01:00Hopefully this is fixed in GCC 4.9, which uses lib...Hopefully this is fixed in GCC 4.9, which uses libbacktrace as a replacement for llvm-symbolizer: http://gcc.gnu.org/ml/gcc-patches/2013-11/msg02055.html<br /><br />so there is no need to use an external program. You probably need to use '-g', since libbacktrace relies on debug info, but <br /><br />export ASAN_OPTIONS=symbolize=1<br /><br />should be the default in GCC 4.9.Manuelhttp://iridia.ulb.ac.be/~manuel/noreply@blogger.com