Skip to content

Commit 605abe0

Browse files
committed
[clang] Initialize AllTocData after #67999
1 parent fc71a49 commit 605abe0

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

clang/include/clang/Basic/CodeGenOptions.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ CODEGENOPT(UniqueBasicBlockSectionNames, 1, 1) ///< Set for -funique-basic-block
5959
///< basic block sections.
6060
CODEGENOPT(EnableAIXExtendedAltivecABI, 1, 0) ///< Set for -mabi=vec-extabi. Enables the extended Altivec ABI on AIX.
6161
CODEGENOPT(XCOFFReadOnlyPointers, 1, 0) ///< Set for -mxcoff-roptr.
62+
CODEGENOPT(AllTocData, 1, 0) ///< AIX -mtocdata
6263
ENUM_CODEGENOPT(FramePointer, FramePointerKind, 2, FramePointerKind::None) /// frame-pointer: all,non-leaf,none
6364

6465
CODEGENOPT(ClearASTBeforeBackend , 1, 0) ///< Free the AST before running backend code generation. Only works with -disable-free.

clang/include/clang/Basic/CodeGenOptions.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,6 @@ class CodeGenOptions : public CodeGenOptionsBase {
410410
/// List of global variables that over-ride the toc-data default.
411411
std::vector<std::string> NoTocDataVars;
412412

413-
/// Flag for all global variables to be treated as toc-data.
414-
bool AllTocData;
415-
416413
/// Path to allowlist file specifying which objects
417414
/// (files, functions) should exclusively be instrumented
418415
/// by sanitizer coverage pass.

0 commit comments

Comments
 (0)