Reapplying now that buildbot has picked up the new configuration
that does not use -treat-scalable-fixed-error-as-warning.
-----
This removes the `LLVM_ENABLE_STRICT_FIXED_SIZE_VECTORS` cmake option
and the `-treat-scalable-fixed-error-as-warning` opt flag.
We stopped treating these as warnings by default a long time ago
(62f09d788f), so I don't think it makes
sense to retain these options at this point. Accessing a scalable
TypeSize as fixed should always result in an error.
34 lines
1.2 KiB
C++
34 lines
1.2 KiB
C++
//===-- DebugOptions.h - Global Command line opt for libSupport *- C++ -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file defines the entry point to initialize the options registered on the
|
|
// command line for libSupport, this is internal to libSupport.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_SUPPORT_DEBUGOPTIONS_H
|
|
#define LLVM_SUPPORT_DEBUGOPTIONS_H
|
|
|
|
namespace llvm {
|
|
|
|
// These are invoked internally before parsing command line options.
|
|
// This enables lazy-initialization of all the globals in libSupport, instead
|
|
// of eagerly loading everything on program startup.
|
|
void initDebugCounterOptions();
|
|
void initGraphWriterOptions();
|
|
void initSignalsOptions();
|
|
void initStatisticOptions();
|
|
void initTimerOptions();
|
|
void initWithColorOptions();
|
|
void initDebugOptions();
|
|
void initRandomSeedOptions();
|
|
|
|
} // namespace llvm
|
|
|
|
#endif // LLVM_SUPPORT_DEBUGOPTIONS_H
|