xref: /third_party/libabigail/tests/data/test-diff-dwarf/test35-pr19173-libfoo-long.c (revision e01aa904)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/libabigail/tests/data/test-diff-dwarf/
1e01aa904Sopenharmony_ci// This file is the source code for 4 binaries.
2e01aa904Sopenharmony_ci// It comes from one of the comments of bug libabigail/19173.
3e01aa904Sopenharmony_ci
4e01aa904Sopenharmony_ci// To compile the first two binaries, please do:
5e01aa904Sopenharmony_ci//  gcc test35-pr19173-libfoo-long.c -shared -fpic -o test35-pr19173-libfoo-long-gcc.so -g
6e01aa904Sopenharmony_ci//  gcc test35-pr19173-libfoo-long.c -shared -fpic -o test35-pr19173-libfoo-long-gcc2.so -g -DLONG
7e01aa904Sopenharmony_ci//
8e01aa904Sopenharmony_ci// To compile the next two binaries, please do:
9e01aa904Sopenharmony_ci// clang test35-pr19173-libfoo-long.c -shared -fpic -o test35-pr19173-libfoo-long-clang.so -g
10e01aa904Sopenharmony_ci//  clang test35-pr19173-libfoo-long.c -shared -fpic -o test35-pr19173-libfoo-long-clang2.so -g -DLONG
11e01aa904Sopenharmony_ci#ifdef LONG
12e01aa904Sopenharmony_cichar buggy_symbol[10];
13e01aa904Sopenharmony_ci#else
14e01aa904Sopenharmony_cichar buggy_symbol[5];
15e01aa904Sopenharmony_ci#endif
16

Indexes created Thu Nov 07 10:32:03 CST 2024