[PATCH] D30027: AMDGPU/RelocVisitor: Handle R_AMDGPU_ABS64 + add dwarfdump test

Konstantin Zhuravlyov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 10:03:54 PST 2017


kzhuravl added inline comments.


================
Comment at: test/DebugInfo/AMDGPU/dwarfdump-relocs.ll:45
+
+!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
+!1 = !DIFile(filename: "dwarfdump-relocs.cl", directory: "/some/random/directory")
----------------
arsenm wrote:
> Why aren't we using DW_LANG_OpenCL?
DW_LANG_OpenCL is valid only if the DWARF version >= 5. We generate DWARF version 2.


https://reviews.llvm.org/D30027





More information about the llvm-commits mailing list