Revert "[polly] [ScopInfo] Don't pre-compute the name of the Scop's region."
authorPhilip Pfaffe <philip.pfaffe@gmail.com>
Wed, 2 May 2018 14:55:39 +0000 (14:55 +0000)
committerPhilip Pfaffe <philip.pfaffe@gmail.com>
Wed, 2 May 2018 14:55:39 +0000 (14:55 +0000)
commite9ca17e9b6419c6980a232537fa0fed419c884c7
treee70e416892aecad93bb62331d283c70cac5a8a56
parentd2ff5fb5365658d54e72f33397aee1d44101b57c
Revert "[polly] [ScopInfo] Don't pre-compute the name of the Scop's region."

This reverts commit 0f9dc03765dc301fff7a52e2a0e1dd3e5f3130c5, r328666.

The change introduced a use-after-free, caused by the temporary name string
being destroyed after converting it to a StringRef.

llvm-svn: 331363
polly/include/polly/ScopInfo.h
polly/lib/Analysis/ScopInfo.cpp