brintos

brintos / llvm-project-archived public Read only

0
0
Text · 490 B · 93cf9eb Raw
17 lines · plain
1# RUN: not obj2yaml %p/../Inputs/WASM/invalid-section-order.wasm 2>&1 | FileCheck %s2# CHECK: {{.*}}: out of order section type: 103 4# Inputs/WASM/invalid-section-order.wasm is generated from this ll file, by5# modifying WasmObjectWriter to incorrectly write the data section before the6# code section.7#8# target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"9# target triple = "wasm32-unknown-unknown"10#11# @data = global i32 0, align 412#13# define void @foo() {14# entry:15#   ret void16# }17