[PATCH] D75528: [yaml2obj][obj2yaml][test] - Add base tests for relocation addends.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 10:15:42 PST 2020


MaskRay added inline comments.


================
Comment at: llvm/test/tools/obj2yaml/relocation-addend.yaml:22
+
+## Check how obj2yaml dumps an addend with the value = MAX_INT64.
+# RUN: yaml2obj --docnum=1 %s -o %t3 -D ADDEND=9223372036854775807
----------------
The stdint.h constant is named `INT64_MIN`

Testing the hexadecimal literal will be useful, too.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75528/new/

https://reviews.llvm.org/D75528





More information about the llvm-commits mailing list