[llvm] b9648c7 - [llvm-nm] Avoid -opaque-pointers option in test (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 20 07:36:04 PDT 2023
Author: Nikita Popov
Date: 2023-06-20T16:35:54+02:00
New Revision: b9648c70d12a6360c90d68fa33bed77d22387187
URL: https://github.com/llvm/llvm-project/commit/b9648c70d12a6360c90d68fa33bed77d22387187
DIFF: https://github.com/llvm/llvm-project/commit/b9648c70d12a6360c90d68fa33bed77d22387187.diff
LOG: [llvm-nm] Avoid -opaque-pointers option in test (NFC)
Commit the typed pointer bitcode file instead of producing it,
as this will not be possible in the future anymore.
Added:
llvm/test/tools/llvm-nm/Inputs/typed.bc
Modified:
llvm/test/tools/llvm-nm/opaque-pointers.ll
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-nm/Inputs/typed.bc b/llvm/test/tools/llvm-nm/Inputs/typed.bc
new file mode 100644
index 0000000000000..c45fb064bec52
Binary files /dev/null and b/llvm/test/tools/llvm-nm/Inputs/typed.bc
diff er
diff --git a/llvm/test/tools/llvm-nm/opaque-pointers.ll b/llvm/test/tools/llvm-nm/opaque-pointers.ll
index 0bda500f991f6..151cf5ef9bec9 100644
--- a/llvm/test/tools/llvm-nm/opaque-pointers.ll
+++ b/llvm/test/tools/llvm-nm/opaque-pointers.ll
@@ -1,6 +1,5 @@
-; RUN: llvm-as -opaque-pointers=0 < %s > %t.typed.bc
-; RUN: llvm-as -opaque-pointers=1 < %s > %t.opaque.bc
-; RUN: llvm-ar cr %t.a %t.typed.bc %t.opaque.bc
+; RUN: llvm-as < %s > %t.opaque.bc
+; RUN: llvm-ar cr %t.a %S/Inputs/typed.bc %t.opaque.bc
; RUN: llvm-nm --just-symbol-name %t.a | FileCheck %s
; CHECK-LABEL: typed.bc:
More information about the llvm-commits
mailing list