aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorWenju He <wenju.he@intel.com>2025-09-05 07:35:40 +0800
committerGitHub <noreply@github.com>2025-09-05 07:35:40 +0800
commitfb5626fdd52905a0f4ade44221f83f0e469b9a8c (patch)
tree7dfea348f88c267f692a327bea227bf865a021e6 /lldb/source/Commands/CommandObjectCommands.cpp
parent10bcf0c0d81c87eab09aeadfe0565ff1aa4a138e (diff)
downloadllvm-fb5626fdd52905a0f4ade44221f83f0e469b9a8c.zip
llvm-fb5626fdd52905a0f4ade44221f83f0e469b9a8c.tar.gz
llvm-fb5626fdd52905a0f4ade44221f83f0e469b9a8c.tar.bz2
[NFC][libclc] Set MACRO_ARCH to ${ARCH} uncondionally before customizing (#156789)
Our downstream libclc add a few more targets that customizes build_flags and opt_flags. Then in each customization block, MACRO_ARCH is defined to be ${ARCH}. Hoisting MACRO_ARCH definition out of if-else-end block avoids code duplication. This also avoids potential error when MACRO_ARCH definition is forgotten, e.g. in https://github.com/intel/llvm/pull/19971.
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions