Revert "[KernelAddressSanitizer] Make globals constructors compatible with kernel"
This reverts commit 866ee235. Building the kernel results in modpost failures due to modpost relying on debug info and inspecting kernel modules' globals: https://github.com/ClangBuiltLinux/linux/issues/1045#issuecomment-640381783
Showing
- clang/test/CodeGen/asan-globals.cpp 7 additions, 26 deletionsclang/test/CodeGen/asan-globals.cpp
- llvm/include/llvm/Transforms/Utils/ModuleUtils.h 0 additions, 4 deletionsllvm/include/llvm/Transforms/Utils/ModuleUtils.h
- llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp 21 additions, 29 deletionsllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
- llvm/lib/Transforms/Utils/ModuleUtils.cpp 5 additions, 11 deletionsllvm/lib/Transforms/Utils/ModuleUtils.cpp
Loading
Please register or sign in to comment