[Driver] -fsanitize=kcfi doesn't need RequiresPIE
authorFangrui Song <i@maskray.me>
Wed, 19 Apr 2023 20:10:46 +0000 (13:10 -0700)
committerFangrui Song <i@maskray.me>
Wed, 19 Apr 2023 20:10:46 +0000 (13:10 -0700)
commite67493f57262862ae2bd4fc5d1d1f552676d815f
tree4a3295062e388a45cf76fac475c5fed9c1930179
parentba9b2cdb9c00f68f1759386fdafc2285e0227357
[Driver] -fsanitize=kcfi doesn't need RequiresPIE

As mentioned on D148671: this is unneeded. This commit is a no-op for most Linux
builds since CLANG_DEFAULT_PIE_ON_LINUX defaults to 1.
clang/lib/Driver/SanitizerArgs.cpp