Your phones manufacturer or carrier can be subpoenaed for the location, cops can seize it and identify and/or extract data from it, and IMSI catchers are often used at protests. If you need, you can buy a burner phone and prepaid sim just for the protest.