[PATCH] D55137: Honor -fdebug-prefix-map when creating function names for the debug info.
Adrian Prantl via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 30 16:24:18 PST 2018
aprantl marked an inline comment as done.
aprantl added inline comments.
================
Comment at: test/CodeGenCXX/debug-prefix-map-lambda.cpp:7
+ // CHECK: !DISubprogram(name: "b<(lambda at
+ // CHECK-SAME: /SOURCE_ROOT/debug-prefix-map-lambda.cpp
+ // CHECK-SAME: [[@LINE+1]]:{{[0-9]+}})>"
----------------
probinson wrote:
> I've never liked tests that hard-code the test file name. FileCheck lets you define variables on the RUN line, is there a lit substitution that will return just the basename?
Looks like there is not LIT substitution for the filename without the path. At least not a documented one.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55137/new/
https://reviews.llvm.org/D55137
More information about the cfe-commits
mailing list