diff --git a/CHANGELOG.md b/CHANGELOG.md index 1168190..6dafc13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 0.2.4 - 2022-05-16 +### Added +- Support for objdump output with `--visualize-jumps` option (thanks to [@LeoJhonSong](https://github.com/LeoJhonSong)). + ## 0.2.3 - 2022-04-19 ### Fixed - Various bugfixes from [compiler-explorer] upstream. diff --git a/README.md b/README.md index 8a572fd..4eddd32 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ First you need disassembly of your source files. That's because the extension do Regular disassembly may be generated with: - $(CC) -g -o disassembly.S $(CFLAGS) -S source.c + $(CC) -g -o disassembly.S -fno-verbose-asm $(CFLAGS) -S source.c Objdumped disassembly should be generated with lines info: diff --git a/package-lock.json b/package-lock.json index b3f75f5..7d731b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "disasexpl", - "version": "0.2.3", + "version": "0.2.4", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index a86d648..2cb27d6 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Disassembly Explorer", "description": "Show disassembly to source relations", "icon": "icon.png", - "version": "0.2.3", + "version": "0.2.4", "publisher": "dseight", "license": "MIT", "repository": { diff --git a/src/asm.ts b/src/asm.ts index d2b5ca1..28aee3d 100644 --- a/src/asm.ts +++ b/src/asm.ts @@ -137,7 +137,7 @@ export class AsmParser { cudaBeginDef = /\.(entry|func)\s+(?:\([^)]*\)\s*)?([$.A-Z_a-z][\w$.]*)\($/; cudaEndDef = /^\s*\)\s*$/; - asmOpcodeRe = /^\s*(?
[\da-f]+):\s*(?([\da-f]{2} ?)+)\s*(?.*)/; + asmOpcodeRe = /^\s*(?
[\da-f]+):(?:[|\\\/>X+-]|\s)*(?([\da-f]{2} ?)+)\s*(?.*)/; lineRe = /^(\/[^:]+):(?\d+).*/; // labelRe is made very greedy as it's also used with demangled objdump