Mercurial > hg > CbC > CbC_llvm
view compiler-rt/test/fuzzer/dead-stripping.test @ 256:7d9b19ec7a62
cbclang output is still wrong
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 18:48:47 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
REQUIRES: darwin No dead_strip. Unused code is not removed. RUN: %cpp_compiler %S/GcSectionsTest.cpp -o %t RUN: nm %t | grep UnusedFunctionShouldBeRemovedByLinker RUN: %run %t -runs=0 2>&1 | FileCheck %s With dead_strip. Unused code is (currently) not removed. (It would be better if it was removed!) RUN: %cpp_compiler %S/GcSectionsTest.cpp -o %t -ffunction-sections -Wl,-dead_strip RUN: nm %t | grep UnusedFunctionShouldBeRemovedByLinker RUN: %run %t -runs=0 2>&1 | FileCheck %s CHECK-NOT: ERROR: The size of coverage PC tables does not match