Skip to content

Commit fe4cd62

Browse files
Merge pull request #103 from AjayBrahmakshatriya/master
Fixed typo when TRACER_USE_LIBUNWIND=1 and split CI jobs for RECOVER_…
2 parents fdbe2c7 + 5361403 commit fe4cd62

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/ci-all-samples.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ jobs:
1111
submodules: recursive
1212
- run: sudo apt-get install g++
1313
- run: make -C ${{ github.workspace }} -j$(nproc) run
14+
- run: echo "Tests completed"
15+
CI-Actions-Ubuntu-VarNames:
16+
runs-on: ubuntu-22.04
17+
steps:
18+
- run: echo "Starting tests"
19+
- name: Checking out repository
20+
uses: actions/checkout@v2
21+
with:
22+
submodules: recursive
23+
- run: sudo apt-get install g++
1424
- name: Install libunwind-dev
1525
run: sudo apt-get install libunwind-dev libdwarf-dev libdwarf1
1626
- run: make -C ${{ github.workspace }} RECOVER_VAR_NAMES=1 -j$(nproc) run

src/util/tracer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ tag get_offset_in_function(void) {
4141
continue;
4242
}
4343
new_tag.static_var_snapshots.push_back(tuple->snapshot());
44-
if (get_builder_context()->enable_d2x) {
44+
if (builder::get_builder_context()->enable_d2x) {
4545
new_tag.static_var_key_values.push_back({tuple->var_name, tuple->serialize()});
4646
}
4747
}
@@ -51,7 +51,7 @@ tag get_offset_in_function(void) {
5151
continue;
5252
}
5353
new_tag.static_var_snapshots.push_back(tuple->snapshot());
54-
if (get_builder_context()->enable_d2x) {
54+
if (builder::get_builder_context()->enable_d2x) {
5555
new_tag.static_var_key_values.push_back({tuple->var_name, tuple->serialize()});
5656
}
5757
}

0 commit comments

Comments
 (0)