[PATCH] D43860: [AArch64] DWARF: do not generate AT_location for thread local

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 18:39:59 PDT 2018


dblaikie added inline comments.


================
Comment at: test/DebugInfo/AArch64/tls-at-location.ll:10
+target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
+target triple = "arm64"
+
----------------
I guess this is sufficient/avoids needing to pass a triple to llc directly?

& does that ensure ELF, not MachO?


================
Comment at: test/DebugInfo/AArch64/tls-at-location.ll:21
+
+attributes #0 = { noinline nounwind optnone "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="generic" "target-features"="+neon" "unsafe-fp-math"="false" "use-soft-float"="false" }
+
----------------
Strip out these attributes if they're not needed.


Repository:
  rL LLVM

https://reviews.llvm.org/D43860





More information about the llvm-commits mailing list