Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Did you run all tests? I'd suspect that this might break test/OpenMP/threadprivate_codegen.cpp which is expecting @__dso_handle = external global i8 which will now be hidden global?
This was just the first crack, my first attempt at any change in LLVMland. I don't know how to run the tests yet.
You can use ninja check-clang to run Clang tests, if those pass you can use ninja check-all to run all tests. Testing guide has details about testing in LLVM.
lib/CodeGen/CodeGenModule.cpp | ||
---|---|---|
2402 ↗ | (On Diff #88068) | Can't this use the VarDecl argument of GetOrCreateLLVMGlobal to set the visibility? I'd prefer to keep reundant arguments to a minimum. |
I committed a modified patch that set the visibility on the global after creating it to avoid adding an optional boolean parameter. Thanks for the report and patch!