[PATCH] D102684: [LLD] Allow disabling the early exit codepath as a build configuration
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 24 14:09:08 PDT 2021
mstorsjo added a comment.
Just out of curiosity, here's the same backtrace with libc++.dll built with debug info:
* frame #0: 0x00007ffa21a9dd08 ntdll.dll`RtlAllocateHeap + 3320
frame #1: 0x00007ffa21a9d997 ntdll.dll`RtlAllocateHeap + 2439
frame #2: 0x00007ffa1e40aeee ucrtbase.dll`_calloc_base + 78
frame #3: 0x00007ffa1e4494bc ucrtbase.dll`__intrinsic_setjmpex + 6012
frame #4: 0x00007ffa1e42142d ucrtbase.dll`_configthreadlocale + 13
frame #5: 0x00007ffa10accee7 libc++.dll`std::__1::__libcpp_locale_guard::__libcpp_locale_guard(this=0x00000000013fdfb0, __l=locale_t @ 0x00000000013fdfc0) at __locale:75:18
frame #6: 0x00007ffa10b01e9a libc++.dll`wcrtomb_l(s="", wc=L'\0', ps=0x00007ffa10b923c0, loc=<unavailable>) at locale_win32.cpp:58:27
frame #7: 0x00007ffa10ad5941 libc++.dll`std::__1::codecvt<wchar_t, char, _Mbstatet>::do_unshift(this=<unavailable>, st=<unavailable>, to=<unavailable>, to_end="XzM\U00000001", to_nxt=<no value available>) const at locale.cpp:1673:16
frame #8: 0x00007ffa10acd9e9 libc++.dll`std::__1::__stdoutbuf<wchar_t>::sync() [inlined] std::__1::codecvt<wchar_t, char, _Mbstatet>::unshift(this=<unavailable>, __st=<unavailable>, __to_end="XzM\U00000001", __to_nxt=<no value available>) const at __locale:1022:16
frame #9: 0x00007ffa10acd9d8 libc++.dll`std::__1::__stdoutbuf<wchar_t>::sync(this=0x00007ffa10b92360) at __std_stream:334
frame #10: 0x00007ffa10abea56 libc++.dll`std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >::flush() [inlined] std::__1::basic_streambuf<wchar_t, std::__1::char_traits<wchar_t> >::pubsync(this=<unavailable>) at streambuf:167:28
frame #11: 0x00007ffa10abea50 libc++.dll`std::__1::basic_ostream<wchar_t, std::__1::char_traits<wchar_t> >::flush(this=0x00007ffa10b91ef8) at ostream:951
frame #12: 0x00007ffa10acccec libc++.dll`::__dtor__ZZNSt3__18ios_base4InitC1EvE16init_the_streams() at iostream.cpp:141:16
frame #13: 0x00007ffa10acccd4 libc++.dll`::__dtor__ZZNSt3__18ios_base4InitC1EvE16init_the_streams() at iostream.cpp:0
frame #14: 0x00007ffa1e413e26 ucrtbase.dll`_execute_onexit_table + 342
frame #15: 0x00007ffa1e413d4b ucrtbase.dll`_execute_onexit_table + 123
frame #16: 0x00007ffa1e413d04 ucrtbase.dll`_execute_onexit_table + 52
frame #17: 0x00007ffa10aa109e libc++.dll`_CRT_INIT(hDllHandle=<unavailable>, dwReason=<unavailable>, lpreserved=<unavailable>) at crtdll.c:130:11
frame #18: 0x00007ffa10aa1311 libc++.dll`__DllMainCRTStartup(hDllHandle=0x00007ffa10aa0000, dwReason=0, lpreserved=0x0000000000000001) at crtdll.c:195:6
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102684/new/
https://reviews.llvm.org/D102684
More information about the llvm-commits
mailing list