Skip to content

Commit

Permalink
[nrf fromtree] native_simulator: Get latest from upstream
Browse files Browse the repository at this point in the history
Align with native_simulator's upstream main
51b27b67addd0073dc86e3d83f492c5cac5c3361

Which includes:
* 51b27b nsi_utils: Add macro for weak declarations

Signed-off-by: Alberto Escolar Piedras <[email protected]>
(cherry picked from commit 6ffbb8c)
  • Loading branch information
aescolar authored and koffes committed Nov 25, 2024
1 parent 8132da7 commit a84f119
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/native_simulator/common/src/include/nsi_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#define NSI_CODE_UNREACHABLE __builtin_unreachable()

#define NSI_FUNC_NORETURN __attribute__((__noreturn__))
#define NSI_WEAK __attribute__((__weak__))

Check notice on line 32 in scripts/native_simulator/common/src/include/nsi_utils.h

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

scripts/native_simulator/common/src/include/nsi_utils.h:32 -#define NSI_WEAK __attribute__((__weak__)) +#define NSI_WEAK __attribute__((__weak__))

Check notice on line 32 in scripts/native_simulator/common/src/include/nsi_utils.h

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

scripts/native_simulator/common/src/include/nsi_utils.h:32 -#define NSI_WEAK __attribute__((__weak__)) +#define NSI_WEAK __attribute__((__weak__))
#if defined(__clang__)
/* The address sanitizer in llvm adds padding (redzones) after data
Expand Down

0 comments on commit a84f119

Please sign in to comment.