xref: /llvm-project/llvm/test/MC/WebAssembly/custom-section-alignment.ll (revision 1813fde9cc0b56cee42d9b82e6f22fa00a59cdf9)
1; RUN: llc -filetype=obj %s -o - | od -t x1 -v | FileCheck %s
2
3target triple = "wasm32-unknown-unknown"
4
5!0 = !{ !"before", !"\de\ad\be\ef" }
6!1 = !{ !"__clangast", !"\fe\ed\fa\ce" }
7!wasm.custom_sections = !{ !0, !1 }
8
9; Ensure that __clangast content is aligned by 4 bytes
10; CHECK: {{(([0-9a-f]{2} ){4})*}}fe ed fa ce
11