llvm/compiler-rt/lib/sanitizer_common/sanitizer_flags.cpp

//===-- sanitizer_flags.cpp -----------------------------------------------===//
//
// 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 is a part of ThreadSanitizer/AddressSanitizer runtime.
//
//===----------------------------------------------------------------------===//

#include "sanitizer_flags.h"

#include "sanitizer_common.h"
#include "sanitizer_flag_parser.h"
#include "sanitizer_libc.h"
#include "sanitizer_linux.h"
#include "sanitizer_list.h"

namespace __sanitizer {

CommonFlags common_flags_dont_use;

void CommonFlags::SetDefaults() {}

void CommonFlags::CopyFrom(const CommonFlags &other) {}

// Copy the string from "s" to "out", making the following substitutions:
// %b = binary basename
// %p = pid
// %d = binary directory
void SubstituteForFlagValue(const char *s, char *out, uptr out_size) {}

class FlagHandlerInclude final : public FlagHandlerBase {};

void RegisterIncludeFlags(FlagParser *parser, CommonFlags *cf) {}

void RegisterCommonFlags(FlagParser *parser, CommonFlags *cf) {}

void InitializeCommonFlags(CommonFlags *cf) {}

}  // namespace __sanitizer