[llvm] [DWARF] Add option to add linkage_names to call_origin declaration refs (PR #89640)

Paul T Robinson via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 12:05:45 PDT 2024


================
@@ -0,0 +1,96 @@
+; RUN: llc %s --filetype=obj -o - -dwarf-linkage-names=Abstract -add-linkage-names-to-declaration-call-origins=false \
+; RUN: | llvm-dwarfdump - | FileCheck %s --check-prefixes=COMMON,DISABLE --implicit-check-not=DW_AT_linkage_name
+; RUN: llc %s --filetype=obj -o - -dwarf-linkage-names=Abstract -add-linkage-names-to-declaration-call-origins=true \
+; RUN: | llvm-dwarfdump - | FileCheck %s --check-prefixes=COMMON,ENABLE --implicit-check-not=DW_AT_linkage_name
+
----------------
pogo59 wrote:

Do we want more RUN lines showing default varies with tuning? I'm inclined to think it's not super necessary but curious what other reviewers think.

https://github.com/llvm/llvm-project/pull/89640


More information about the llvm-commits mailing list