Skip to content

Commit a9f61d9

Browse files
committed
[Audit] Ignore status of some audit processes
1 parent 7fef3e6 commit a9f61d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/auditor/compiler_abi.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ function cppfilt(symbol_names::Vector, platform::AbstractPlatform; strip_undersc
173173
output = IOBuffer()
174174
mktempdir() do dir
175175
ur = preferred_runner()(dir; cwd="/workspace/", platform=platform)
176-
cmd = `/opt/bin/$(triplet(ur.platform))/c++filt`
176+
cmd = Cmd(`/opt/bin/$(triplet(ur.platform))/c++filt`; ignorestatus=true)
177177
if strip_underscore
178178
cmd = `$(cmd) --strip-underscore`
179179
end

src/auditor/instruction_set.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function instruction_mnemonics(path::AbstractString, platform::AbstractPlatform)
4141
else
4242
objdump_cmd = "\${target}-objdump -d $(basename(path))"
4343
end
44-
run_interactive(ur, `/bin/bash -c "$(objdump_cmd)"`; stdout=output, stderr=devnull)
44+
run_interactive(ur, Cmd(`/bin/bash -c "$(objdump_cmd)"`; ignorestatus=true); stdout=output, stderr=devnull)
4545
seekstart(output)
4646

4747
for line in eachline(output)

0 commit comments

Comments
 (0)