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 rlubos committed Nov 26, 2024
1 parent da860c6 commit 01976a7
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__))

#if defined(__clang__)
/* The address sanitizer in llvm adds padding (redzones) after data
Expand Down

0 comments on commit 01976a7

Please sign in to comment.