[PATCH] [RFC] Come up with startswith function.

Tom Tromey tom@tromey.com
Thu Mar 18 14:54:25 GMT 2021


>>>>> "Martin" == Martin Liška <mliska@suse.cz> writes:

Martin> Is the binutils community interested in the function?

gdb already has one.  Adding one in libiberty is fine with me as long as
it doesn't cause build failures there.

gdb's are in gdbsupport/common-utils.h; it is overloaded to handle
string_view as well.

Tom


More information about the Binutils mailing list