[PATCH] Hexagon does not support object emission for DebugInfo/empty.ll

Rick Foos rfoos at codeaurora.org
Thu Feb 13 10:17:53 PST 2014


Hi echristo,

Hexagon doesn't emit object files required for empty.ll test.

Adding REQUIRES: object-emission results in the test being skipped as UNSUPPORTED.

lit.cfg defines object-emission for this case:

    # Direct object generation
    if not 'hexagon' in config.target_triple:
        config.available_features.add("object-emission")

NOTE: builders clang-hexagon-elf and llvm-hexagon-elf were patched with this to stop the error noise while waiting for internal review.


http://llvm-reviews.chandlerc.com/D2767

Files:
  test/DebugInfo/empty.ll

Index: test/DebugInfo/empty.ll
===================================================================
--- test/DebugInfo/empty.ll
+++ test/DebugInfo/empty.ll
@@ -1,3 +1,5 @@
+
+; REQUIRES: object-emission
 ; RUN: llc %s -o %t -filetype=obj
 ; RUN: llvm-dwarfdump -debug-dump=line %t | FileCheck %s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2767.1.patch
Type: text/x-patch
Size: 297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140213/e7f5d384/attachment.bin>


More information about the llvm-commits mailing list