Skip to content

Commit 7e7dbfb

Browse files
committed
simplify comment in weak function callback
1 parent 873cc21 commit 7e7dbfb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

compiler-rt/lib/asan/asan_flags.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,9 @@ void InitializeFlags() {
241241
DisplayHelpMessages(&asan_parser);
242242
ProcessFlags();
243243

244-
// TODO: Update other globals and data structures that may change after
245-
// initialization due to these flags potentially changing.
246-
// These flags can be identified by looking at the work done in
247-
// `AsanInitInternal` inside of `asan_rtl.cpp`.
244+
// TODO: Update other globals and data structures that may need to change
245+
// after initialization due to new flags potentially being set changing after
246+
// `__asan_default_options` is registered.
248247
// See GH issue 'https://github.com/llvm/llvm-project/issues/117925' for details.
249248
SetAllocatorMayReturnNull(common_flags()->allocator_may_return_null);
250249
});

0 commit comments

Comments
 (0)