Line of sight, parallel 5ft obstacle between player and enemy

One of my players got frightened by a Boss, and he’s trying to put himself between a 5ft diameter and 10ft tall pillar and the Boss enemy.

E being the Boss enemy, and P being the Player. Black square is the pillar. On the left image, can the Boss still see the Player to keep the frightened status going?

enter image description here