Skip to content

Commit 38e6fa5

Browse files
committed
Accept the --build-id option in goto-ld
Includes clean-up of documentation placement and disable clang-format for the collection of options.
1 parent da63652 commit 38e6fa5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/goto-cc/ld_cmdline.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ Author: Daniel Kroening, 2013
1616

1717
#include <util/prefix.h>
1818

19-
/// parses the command line options into a cmdlinet
20-
/// \par parameters: argument count, argument strings
21-
/// \return none
19+
// clang-format off
2220
const char *goto_ld_options_with_argument[]=
2321
{
2422
"--verbosity",
@@ -99,6 +97,7 @@ const char *ld_options_with_argument[]=
9997
"--ios_version_min", // Apple only
10098
"--macosx_version_min", // Apple only
10199
"--install_name", // Apple only
100+
"--build-id",
102101
nullptr
103102
};
104103

@@ -235,7 +234,11 @@ const char *ld_options_without_argument[]=
235234
"--bundle", // Apple only
236235
nullptr
237236
};
237+
// clang-format on
238238

239+
/// parses the command line options into a cmdlinet
240+
/// \par parameters: argument count, argument strings
241+
/// \return none
239242
bool ld_cmdlinet::parse(int argc, const char **argv)
240243
{
241244
assert(argc>0);

0 commit comments

Comments
 (0)