mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 23:31:32 +00:00
83902832de
This reverts commit r218918, effectively reapplying r218914 after fixing an Ocaml bindings test and an Asan crash. The root cause of the latter was a tightened-up check in `DILexicalBlock::Verify()`, so I'll file a PR to investigate who requires the loose check (and why). Original commit message follows. -- This patch addresses the first stage of PR17891 by folding constant arguments together into a single MDString. Integers are stringified and a `\0` character is used as a separator. Part of PR17891. Note: I've attached my testcases upgrade scripts to the PR. If I've just broken your out-of-tree testcases, they might help. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219010 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
259 B
LLVM
12 lines
259 B
LLVM
; RUN: opt -debug-ir -S %s -o - | FileCheck %s
|
|
|
|
target datalayout = "e-p:64:64:64-p1:16:16:16"
|
|
|
|
define void @foo(i32 addrspace(1)*) nounwind {
|
|
ret void
|
|
}
|
|
|
|
; Make sure the pointer size is 16
|
|
|
|
; CHECK: metadata !"0xf\00i32 addrspace(1)*\000\0016\002\000\000"
|