This fixes an issue when -gdwarf-N switch was ignored if it was given before another debug option.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/Driver/debug-options-as.c | ||
---|---|---|
65 | Nit: use the more common spelling -fintegrated-as -triple %itanium_abi_triple msvc windows triples ideally don't need -dwarf-version=, but that can be a separate clean-up. |
Thanks!
clang/test/Driver/debug-options-as.c | ||
---|---|---|
65 |
-integrated-as is what other tests in this file use. Is it OK if these lines will not follow the common template? |
clang/test/Driver/debug-options-as.c | ||
---|---|---|
65 | I think it should be fine... |
Hello, we are seeing failures like below:
Note: Google Test filter = ParameterizedCovMapTest/CoverageMappingTest.skip_duplicate_function_record/0
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ParameterizedCovMapTest/CoverageMappingTest
[ RUN ] ParameterizedCovMapTest/CoverageMappingTest.skip_duplicate_function_record/0
/scratch/build_jenkins/workspace/Downstream_Changes/llvm_cgt/llvm-project/llvm/unittests/ProfileData/CoverageMappingTest.cpp:889: Failure
Expected: 3U
Which is: 3
To be equal to: NumFuncs
Which is: 5
[ FAILED ] ParameterizedCovMapTest/CoverageMappingTest.skip_duplicate_function_record/0, where GetParam() = (false, false) (0 ms)
Do you have any suggestions on why we would start seeing above failures after you commit? Was passing before.
Thanks
Greg
Nit: use the more common spelling -fintegrated-as
-triple %itanium_abi_triple
msvc windows triples ideally don't need -dwarf-version=, but that can be a separate clean-up.