diff options
Diffstat (limited to 'lib/xray/xray_flags.cc')
-rw-r--r-- | lib/xray/xray_flags.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/xray/xray_flags.cc b/lib/xray/xray_flags.cc index b50b68666d80..b9e8324a7874 100644 --- a/lib/xray/xray_flags.cc +++ b/lib/xray/xray_flags.cc @@ -1,9 +1,8 @@ //===-- xray_flags.cc -------------------------------------------*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// 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 // //===----------------------------------------------------------------------===// // @@ -69,7 +68,7 @@ void initializeFlags() XRAY_NEVER_INSTRUMENT { XRayParser.ParseString(XRayCompileFlags); // Override from environment variables. - XRayParser.ParseString(GetEnv("XRAY_OPTIONS")); + XRayParser.ParseStringFromEnv("XRAY_OPTIONS"); // Override from command line. InitializeCommonFlags(); |