Skip to content

Commit

Permalink
update to veersion 0.50
Browse files Browse the repository at this point in the history
adapt dumplines.cpp to changes
  • Loading branch information
rainers committed Dec 13, 2021
1 parent 7919a62 commit 7f61616
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ jobs:
- uses: actions/checkout@v2
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
- name: Build
- name: Build cv2pdb
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:PlatformToolset=${{env.BUILD_PLATFORM_TOOLSET}} /p:Platform=${{env.BUILD_PLATFORM}} /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
- name: Build dumplines
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:PlatformToolset=${{env.BUILD_PLATFORM_TOOLSET}} /p:Platform=${{env.BUILD_PLATFORM}} /p:Configuration=${{env.BUILD_CONFIGURATION}} src/dumplines.vcxproj
- name: Upload bin/
uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -306,3 +306,7 @@ unreleased Version 0.22
* Added rudimentary support for DWARF5. Thanks to dscho.

* also search mspdb* DLL via vswhere.exe. Thanks to dscho.

2021-12-13 Version 0.50

* Added support for DWARF5. Thanks to neerajsi-msft.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = 0.49
VERSION = 0.50
2 changes: 1 addition & 1 deletion src/dumplines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ int dumpObjectFile(TCHAR* fname)
fatal(SARG ": %s", fname, img.getLastError());

img.initDWARFObject();
if(img.debug_line)
if(img.debug_line.isPresent())
{
if (!interpretDWARFLines(img, 0))
fatal(SARG ": cannot dump line numbers", fname);
Expand Down

0 comments on commit 7f61616

Please sign in to comment.