Skip to content

Commit 57909c4

Browse files
committed
Go back to adding debug
1 parent d6c2d7f commit 57909c4

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/cpp_windows.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,17 @@ jobs:
117117
run: |
118118
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ inputs.arch }}
119119
bash -c "ci/scripts/cpp_build.sh $(pwd) $(pwd)/build"
120+
- name: Debug symbols
121+
if: failure()
122+
shell: cmd
123+
run: |
124+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" %ARCH%
125+
echo === Symbols in libprotobufd.lib containing fixed_address ===
126+
dumpbin /symbols build\cpp\_deps\protobuf-build\libprotobufd.lib | findstr "fixed_address_empty_string"
127+
echo === Symbols in orc.lib containing fixed_address ===
128+
dumpbin /symbols build\cpp\_deps\orc-build\c++\src\orc.lib | findstr "fixed_address_empty_string"
129+
env:
130+
ARCH: ${{ inputs.arch }}
120131
- name: Test
121132
shell: cmd
122133
run: |

0 commit comments

Comments
 (0)