[llvm] r240562 - Object: Add XFAILed test case for r239560.

Peter Collingbourne peter at pcc.me.uk
Wed Jun 24 11:03:39 PDT 2015


Author: pcc
Date: Wed Jun 24 13:03:39 2015
New Revision: 240562

URL: http://llvm.org/viewvc/llvm-project?rev=240562&view=rev
Log:
Object: Add XFAILed test case for r239560.

We ought to also emit unmangled references to dllimported functions,
but no existing linker needs this.

Added:
    llvm/trunk/test/Object/dllimport-globalref.ll

Added: llvm/trunk/test/Object/dllimport-globalref.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/dllimport-globalref.ll?rev=240562&view=auto
==============================================================================
--- llvm/trunk/test/Object/dllimport-globalref.ll (added)
+++ llvm/trunk/test/Object/dllimport-globalref.ll Wed Jun 24 13:03:39 2015
@@ -0,0 +1,14 @@
+; RUN: llvm-as %s -o - | llvm-nm - | FileCheck %s
+
+; We should technically emit an unmangled reference to f here,
+; but no existing linker needs this.
+
+; XFAIL: *
+
+target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-pc-windows-msvc"
+
+; CHECK: U f
+
+declare dllimport void @f()
+ at fp = constant void ()* @f





More information about the llvm-commits mailing list