diff options
author | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2019-12-17 07:31:31 -0800 |
---|---|---|
committer | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2019-12-17 07:36:59 -0800 |
commit | 2423774cc2a040d34d32aacaf261805cb195ebd2 (patch) | |
tree | 591f108d8f676b9d5c8bb3e10fd6c6767834429c /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 9ab15f303efdfc841f475918535ab4e13960491b (diff) | |
download | bcm5719-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.cpp | 1 |
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: |