Commit 21ce625b authored by martyn.capewell's avatar martyn.capewell Committed by Commit bot

ARM64: disable ASM_LOCATION in release-sim builds

Disable ASM_LOCATION inline debug messages in release builds. This makes code
size measurements more representative when using the simulator.

BUG=

Review-Url: https://codereview.chromium.org/1919013005
Cr-Commit-Position: refs/heads/master@{#35990}
parent 96a4d20c
...@@ -21,12 +21,15 @@ ...@@ -21,12 +21,15 @@
#define ASM_UNIMPLEMENTED_BREAK(message) \ #define ASM_UNIMPLEMENTED_BREAK(message) \
__ Debug(message, __LINE__, \ __ Debug(message, __LINE__, \
FLAG_ignore_asm_unimplemented_break ? NO_PARAM : BREAK) FLAG_ignore_asm_unimplemented_break ? NO_PARAM : BREAK)
#define ASM_LOCATION(message) \ #if DEBUG
__ Debug("LOCATION: " message, __LINE__, NO_PARAM) #define ASM_LOCATION(message) __ Debug("LOCATION: " message, __LINE__, NO_PARAM)
#else
#define ASM_LOCATION(message)
#endif
#else #else
#define ASM_UNIMPLEMENTED(message) #define ASM_UNIMPLEMENTED(message)
#define ASM_UNIMPLEMENTED_BREAK(message) #define ASM_UNIMPLEMENTED_BREAK(message)
#define ASM_LOCATION(message) #define ASM_LOCATION(message)
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment