These features require that all object files are compiled with the support. When
the feature is disabled for an object file, the merge behavior should treat the
file having a value of 0 (see D129911).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
clang/lib/CodeGen/CodeGenModule.cpp | ||
---|---|---|
746 | Take "cf-protection-return" for example: | |
clang/test/CodeGen/X86/x86-cf-protection.c | ||
11 | Seems we miss check the "llvm::Module::Override" (4) before, now is better. |
clang/lib/CodeGen/CodeGenModule.cpp | ||
---|---|---|
746 | ah! I got it at https://reviews.llvm.org/D129911 line 1489, thanks |
Take "cf-protection-return" for example:
I pass the "-fcf-protection=none" for following test x86-cf-protection.c
It doesn't has "!{i32 Module::Min, !"cf-protection-return", i32 0}".