Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/ci-all-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ jobs:
submodules: recursive
- run: sudo apt-get install g++
- run: make -C ${{ github.workspace }} -j$(nproc) run
- run: echo "Tests completed"
CI-Actions-Ubuntu-VarNames:
runs-on: ubuntu-22.04
steps:
- run: echo "Starting tests"
- name: Checking out repository
uses: actions/checkout@v2
with:
submodules: recursive
- run: sudo apt-get install g++
- name: Install libunwind-dev
run: sudo apt-get install libunwind-dev libdwarf-dev libdwarf1
- run: make -C ${{ github.workspace }} RECOVER_VAR_NAMES=1 -j$(nproc) run
Expand Down
4 changes: 2 additions & 2 deletions src/util/tracer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ tag get_offset_in_function(void) {
continue;
}
new_tag.static_var_snapshots.push_back(tuple->snapshot());
if (get_builder_context()->enable_d2x) {
if (builder::get_builder_context()->enable_d2x) {
new_tag.static_var_key_values.push_back({tuple->var_name, tuple->serialize()});
}
}
Expand All @@ -51,7 +51,7 @@ tag get_offset_in_function(void) {
continue;
}
new_tag.static_var_snapshots.push_back(tuple->snapshot());
if (get_builder_context()->enable_d2x) {
if (builder::get_builder_context()->enable_d2x) {
new_tag.static_var_key_values.push_back({tuple->var_name, tuple->serialize()});
}
}
Expand Down