prerm is in llvm-4.0-runtime 1:4.0.1-10.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
set -e
if test "$1" = "remove"; then
    if test -x /usr/sbin/update-binfmts; then
        update-binfmts --package llvm-4.0-runtime \
            --remove llvm-4.0-runtime.binfmt /usr/bin/lli-4.0 || true
        if test -f /var/lib/binfmts/llvm-4.0.binfmt; then
            # Purge old file
            update-binfmts --package llvm-4.0-runtime \
                --remove llvm-4.0.binfmt /usr/bin/lli-4.0 || true
        fi
    fi
fi
 |