1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/Bitcode/DIEnumerator-10.0.ll
LemonBoy 5ef1cd8cb9 [DebugInfo] Change DIEnumerator payload type from int64_t to APInt
This allows the representation of arbitrarily large enumeration values.
See https://lists.llvm.org/pipermail/llvm-dev/2017-December/119475.html for context.

Reviewed By: andrewrk, aprantl, MaskRay

Differential Revision: https://reviews.llvm.org/D62475
2020-04-18 12:49:31 -07:00

11 lines
400 B
LLVM

;; DIEnumerator-10.0.ll.bc was generated by llvm-as 10.0.0
; RUN: llvm-dis < %s.bc | FileCheck %s
; RUN: verify-uselistorder < %s.bc
!named = !{!0, !1}
; CHECK: !DIEnumerator(name: "A0", value: 9223372036854775807)
!0 = !DIEnumerator(name: "A0", value: 9223372036854775807)
; CHECK: !DIEnumerator(name: "B0", value: -9223372036854775808)
!1 = !DIEnumerator(name: "B0", value: -9223372036854775808)