]> git.lizzy.rs Git - rust.git/blob - tests/run-make/repr128-dwarf/Makefile
Merge commit '1480cea393d0cee195e59949eabdfbcf1230f7f9' into clippyup
[rust.git] / tests / run-make / repr128-dwarf / Makefile
1 # ignore-windows
2 # This test should be replaced with one in tests/debuginfo once GDB or LLDB support 128-bit
3 # enums.
4
5 include ../../run-make-fulldeps/tools.mk
6
7 all:
8         $(RUSTC) -Cdebuginfo=2 lib.rs -o $(TMPDIR)/repr128.rlib
9         "$(LLVM_BIN_DIR)"/llvm-dwarfdump -n U128A $(TMPDIR)/repr128.rlib | $(CGREP) "DW_AT_const_value  (<0x10> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 )"
10         "$(LLVM_BIN_DIR)"/llvm-dwarfdump -n U128B $(TMPDIR)/repr128.rlib | $(CGREP) "DW_AT_const_value  (<0x10> 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 )"
11         "$(LLVM_BIN_DIR)"/llvm-dwarfdump -n U128C $(TMPDIR)/repr128.rlib | $(CGREP) "DW_AT_const_value  (<0x10> 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 )"
12         "$(LLVM_BIN_DIR)"/llvm-dwarfdump -n U128D $(TMPDIR)/repr128.rlib | $(CGREP) "DW_AT_const_value  (<0x10> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff )"
13         "$(LLVM_BIN_DIR)"/llvm-dwarfdump -n I128A $(TMPDIR)/repr128.rlib | $(CGREP) "DW_AT_const_value  (<0x10> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 )"
14         "$(LLVM_BIN_DIR)"/llvm-dwarfdump -n I128B $(TMPDIR)/repr128.rlib | $(CGREP) "DW_AT_const_value  (<0x10> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff )"
15         "$(LLVM_BIN_DIR)"/llvm-dwarfdump -n I128C $(TMPDIR)/repr128.rlib | $(CGREP) "DW_AT_const_value  (<0x10> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 )"
16         "$(LLVM_BIN_DIR)"/llvm-dwarfdump -n I128D $(TMPDIR)/repr128.rlib | $(CGREP) "DW_AT_const_value  (<0x10> ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 7f )"