File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
llvm/include/llvm/SYCLLowerIR Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -687,8 +687,8 @@ class ObjectFileHandler final : public FileHandler {
687687 if (Error Err = Symbol.printName (NameOS))
688688 return std::move (Err);
689689
690- // If we are dealing with a bitcode file do not add special globals
691- // llvm.used and llvm.compiler.used to the list of defined symbols.
690+ // If we are dealing with a bitcode file do not add special globals to
691+ // the list of defined symbols.
692692 if (SF->isIR () &&
693693 (Name == " llvm.used" || Name == " llvm.compiler.used" ||
694694 Name == " __AsanKernelMetadata" ))
Original file line number Diff line number Diff line change 55// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66//
77// ===----------------------------------------------------------------------===//
8- // This pass fixes attributes and metadata of global variable
8+ // This pass fixes attributes and metadata of the global variable
99// "__AsanKernelMetadata"
1010// ===----------------------------------------------------------------------===//
1111
12+ #pragma once
13+
1214#include " llvm/IR/PassManager.h"
1315
1416namespace llvm {
You can’t perform that action at this time.
0 commit comments