[PATCH] D135488: [codegen][WIP] Display stack layouts in console

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 11 08:11:11 PDT 2022


probinson added inline comments.


================
Comment at: clang/test/Frontend/frame-diags.c:1
+// TODO: This is not really a functional test yet, and needs to be rewritten. 
+// currently its just a copy of backend-diagnostics.c, and all of the run/test 
----------------
I know this is a draft and has a TODO but:
Something like this could go into cross-project-tests, but an llvm change should have an llvm test, not a clang test.  You could use clang to generate IR once, and keep instructions for regenerating the IR as comments in the test file.  We do this a lot for debug info tests.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135488/new/

https://reviews.llvm.org/D135488



More information about the cfe-commits mailing list