Skip to content

Commit

Permalink
Ignore empty columns in objdump output (#590)
Browse files Browse the repository at this point in the history
* Ignore empty columns in `objdump` output

* Update instruction_set.jl
  • Loading branch information
staticfloat authored Dec 30, 2019
1 parent 784f6ca commit 3560416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auditor/instruction_set.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ function instruction_mnemonics(path::AbstractString, platform::Platform)

for line in eachline(output)
# First, ensure that this line of output is 3 fields long at least
fields = split(line, '\t')
fields = filter(x -> !isempty(strip(x)), split(line, '\t'))
if length(fields) < 3
continue
end
Expand Down

2 comments on commit 3560416

@staticfloat
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/7352

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.1 -m "<description of version>" 3560416477a72b0f5f487119465f4a8a56b9acef
git push origin v0.2.1

Please sign in to comment.