[Openmp-commits] [PATCH] D68053: [OpenMP] Don't assume Type from `readelf -d` has parentheses
Andrey Churbanov via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Oct 8 05:46:55 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rGca2973bb2024: Don't assume Type from `readelf -d` has parentheses (authored by AndreyChurbanov).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68053/new/
https://reviews.llvm.org/D68053
Files:
openmp/runtime/tools/check-depends.pl
Index: openmp/runtime/tools/check-depends.pl
===================================================================
--- openmp/runtime/tools/check-depends.pl
+++ openmp/runtime/tools/check-depends.pl
@@ -131,7 +131,7 @@
# Parse body.
while ( $i < @bulk ) {
my $line = $bulk[ $i ];
- if ( $line !~ m{^\s*0x[0-9a-f]+\s+\(([_A-Z0-9]+)\)\s+(.*)\s*$}i ) {
+ if ( $line !~ m{^\s*0x[0-9a-f]+\s+\(?([_A-Z0-9]+)\)?\s+(.*)\s*$}i ) {
parse_error( $tool, @bulk, $i );
}; # if
my ( $type, $value ) = ( $1, $2 );
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68053.223831.patch
Type: text/x-patch
Size: 560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20191008/ba002f95/attachment.bin>
More information about the Openmp-commits
mailing list