[llvm] [AIX] Add git revision to .file string (PR #88164)

David Tenty via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 11 15:38:27 PDT 2024


================
@@ -0,0 +1,13 @@
+; Check that the git revision is contained in the assembly/object files
+
+; RUN: cd %S && git rev-parse HEAD > %t
----------------
daltenty wrote:

Also, it's possible the user built LLVM is such as way as to disable the hash (i.e. with `LLVM_APPEND_VC_REV` off), in which case I'm assuming this test won't find it. You'd need something extra like a lit feature flag to control this.

(It might not be worth the trouble to add that just for this purpose)

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


More information about the llvm-commits mailing list