Skip to content

Commit b9d7481

Browse files
tambryanonymouspc
authored andcommitted
Partially revert "[NFCI][lldb][test][asm] Enable AT&T syntax explicitly (llvm#166770)" (llvm#172233)
Flag changes reverted as those require the X86 target to be enabled. Don't have time to test fixes as I need to go to sleep so will revert for now. Reverts: 423919d
1 parent 2c42cf6 commit b9d7481

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

lldb/packages/Python/lldbsuite/test/make/Makefile.rules

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -320,13 +320,6 @@ ifeq "$(MAKE_GMODULES)" "YES"
320320
CXXFLAGS += $(MANDATORY_MODULE_BUILD_CFLAGS)
321321
endif
322322

323-
# Our files use x86 AT&T assembly throughout.
324-
# Enable it explicitly so any local Clang preference for Intel syntax gets overriden.
325-
ifeq ($(CC_TYPE), clang)
326-
CFLAGS += -mllvm -x86-asm-syntax=att
327-
CXXFLAGS += -mllvm -x86-asm-syntax=att
328-
endif
329-
330323
CFLAGS += $(CFLAGS_EXTRAS)
331324
CXXFLAGS += -std=c++11 $(CFLAGS) $(ARCH_CXXFLAGS)
332325
# Copy common options to the linker flags (dwarf, arch. & etc).

lldb/test/Shell/helper/toolchain.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,6 @@ def use_support_substitutions(config):
242242
# The clang module cache is used for building inferiors.
243243
host_flags += ["-fmodules-cache-path={}".format(config.clang_module_cache)]
244244

245-
# Our files use x86 AT&T assembly throughout.
246-
# Enable it explicitly so any local Clang preference for Intel syntax gets overriden.
247-
host_flags += ["-mllvm", "-x86-asm-syntax=att"]
248-
249245
if config.cmake_sysroot:
250246
host_flags += ["--sysroot={}".format(config.cmake_sysroot)]
251247

0 commit comments

Comments
 (0)