-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert pr#3194 modification #3199
Revert pr#3194 modification #3199
Conversation
lum1n0us
commented
Mar 4, 2024
- address values in call stack dump are relative to file beginning
- if running under fast-interp mode, address values are relative to every pre-compiled function beginning. not compatible with addr2line
@eloparco could you help check whether this PR is good to you? Thanks. |
test-tools/addr2line/addr2line.py
Outdated
+ " - the wasm file is compiled with debug info. (like: clang -g) \n" | ||
+ " - the call-stack dump is generated by iwasm\n" | ||
+ " - iwasm is compiled with -DWAMR_BUILD_DUMP_CALL_STACK=1\n" | ||
+ " - iwasm isn't running under fast-interp mode. -DWAMR_FAST_INTERP=0\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+ " - iwasm isn't running under fast-interp mode. -DWAMR_FAST_INTERP=0\n" | |
+ " - iwasm isn't running under fast-interp mode. -DWAMR_BUILD_FAST_INTERP=0\n" |
Tried it and it works! I was using fast interpreter mode, switching to to classic interpreter fixed it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a minor comment on a typo
- address values in call stack dump are relative to file beginning - if running under fast-interp mode, address values are relative to every pre-compiled function beginning. not compabible with addr2line
62ec2eb
to
1599e7d
Compare
- Address values in call stack dump are relative to file beginning - If running under fast-interp mode, address values are relative to every pre-compiled function beginning, which is not compatible with addr2line
- Address values in call stack dump are relative to file beginning - If running under fast-interp mode, address values are relative to every pre-compiled function beginning, which is not compatible with addr2line Signed-off-by: victoryang00 <[email protected]>
- Address values in call stack dump are relative to file beginning - If running under fast-interp mode, address values are relative to every pre-compiled function beginning, which is not compatible with addr2line
- Address values in call stack dump are relative to file beginning - If running under fast-interp mode, address values are relative to every pre-compiled function beginning, which is not compatible with addr2line Signed-off-by: victoryang00 <[email protected]>
- Address values in call stack dump are relative to file beginning - If running under fast-interp mode, address values are relative to every pre-compiled function beginning, which is not compatible with addr2line Signed-off-by: victoryang00 <[email protected]>
- Address values in call stack dump are relative to file beginning - If running under fast-interp mode, address values are relative to every pre-compiled function beginning, which is not compatible with addr2line Signed-off-by: victoryang00 <[email protected]>