summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorMitch Phillips <31459023+hctim@users.noreply.github.com>2019-12-17 07:31:31 -0800
committerMitch Phillips <31459023+hctim@users.noreply.github.com>2019-12-17 07:36:59 -0800
commit2423774cc2a040d34d32aacaf261805cb195ebd2 (patch)
tree591f108d8f676b9d5c8bb3e10fd6c6767834429c /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent9ab15f303efdfc841f475918535ab4e13960491b (diff)
downloadbcm5719-llvm-2423774cc2a040d34d32aacaf261805cb195ebd2.tar.gz
bcm5719-llvm-2423774cc2a040d34d32aacaf261805cb195ebd2.zip
Revert "Honor -fuse-init-array when os is not specified on x86"
This reverts commit aa5ee8f244441a8ea103a7e0ed8b6f3e74454516. This change broke the sanitizer buildbots. See comments at the patchset (https://reviews.llvm.org/D71360) for more information.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index 34e96663a09..ee9d388131f 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -97,7 +97,6 @@ void TargetLoweringObjectFileELF::Initialize(MCContext &Ctx,
TM = &TgtM;
CodeModel::Model CM = TgtM.getCodeModel();
- InitializeELF(TgtM.Options.UseInitArray);
switch (TgtM.getTargetTriple().getArch()) {
case Triple::arm:
OpenPOWER on IntegriCloud