On Windows stack trace starts with main() function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
When I run check-asan I have:
#0 0x1241f83 in main ..\llvm\projects\compiler-rt\test\asan\TestCases\use-after-scope-capture.cc:12:14 #1 0x1241f1e in main C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits:1398:11 #2 0x1241eee in main C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits:1466:10 #3 0x1241ece in main C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits:1491:10 #4 0x12418ae in main C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional:212:11
When I run the same temp binary generated by the test run above I see:
#0 0x3d1f83 in main()::(anonymous class)::operator() ..\llvm\projects\compiler-rt\test\asan\TestCases\
use-after-scope-capture.cc:12
#1 0x3d1f1e in std::_Invoker_functor::_Call C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_trai
ts:1398
#2 0x3d1eee in std::invoke C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits:1466 #3 0x3d1ece in std::_Invoke_ret C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\type_traits:1491
So this looks like symbols interpreted differently.