File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
llvm/lib/Transforms/Instrumentation Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -690,9 +690,9 @@ class ObjectFileHandler final : public FileHandler {
690690 // If we are dealing with a bitcode file do not add special globals to
691691 // the list of defined symbols.
692692 if (SF->isIR () &&
693- (Name == " llvm.used" || Name == " llvm.compiler.used" ||
694- Name == " __AsanDeviceGlobalMetadata" ) ||
695- Name == " __AsanKernelMetadata" ))
693+ (Name == " llvm.used" || Name == " llvm.compiler.used" ||
694+ Name == " __AsanDeviceGlobalMetadata" ||
695+ Name == " __AsanKernelMetadata" ))
696696 continue ;
697697
698698 // Add symbol name with the target prefix to the buffer.
Original file line number Diff line number Diff line change @@ -1642,7 +1642,7 @@ static bool isUnsupportedDeviceGlobal(GlobalVariable *G) {
16421642 return true ;
16431643
16441644 // Skip instrumenting on "__AsanKernelMetadata" etc.
1645- if (G. getName ().starts_with (" __Asan" ))
1645+ if (G-> getName ().starts_with (" __Asan" ))
16461646 return true ;
16471647
16481648 Attribute Attr = G->getAttribute (" sycl-device-image-scope" );
You can’t perform that action at this time.
0 commit comments