You need to look up the definition of martyr. He committed suicide, he was not killed. He was not persecuted for doing right, he was being prosecuted for doing wrong.
The film implies he was a victim and does not criticize his suicide, only the laws and people who drove him to kill himself.
Martyrdom: "a display of feigned or exaggerated suffering to obtain sympathy or admiration."