Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Unified Diff: test/NaCl/PNaClABI/abi-aliases.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/NaCl/PNaClABI/abi-aliases.ll
diff --git a/test/NaCl/PNaClABI/abi-aliases.ll b/test/NaCl/PNaClABI/abi-aliases.ll
new file mode 100644
index 0000000000000000000000000000000000000000..a49f3f789736907c21f18373b229187d53d417e9
--- /dev/null
+++ b/test/NaCl/PNaClABI/abi-aliases.ll
@@ -0,0 +1,7 @@
+; RUN: not pnacl-abicheck < %s | FileCheck %s
+
+@aliased_var = internal global [1 x i8] c"x"
+; CHECK-NOT: disallowed
+
+@alias1 = alias [1 x i8]* @aliased_var
+; CHECK: Variable alias1 is an alias (disallowed)

Powered by Google App Engine
This is Rietveld 408576698